Tej's submission of Counting Pretty Numbers | CodeChef