manas agrawal's submission of Counting Pretty Numbers | CodeChef