Counting Pretty Numbers | CodeChef