Dinesh Goyal's submission of Counting Pretty Numbers | CodeChef