Nikolay Domashenko's submission of Counting Pretty Numbers | CodeChef