vinay raj 's submission of Counting Pretty Numbers | CodeChef