Domanda di colloquio di Goodreads

A question combining base conversion and string manipulation, was not too difficult.