Ankur Kayal's submission of Ones Guessing | CodeChef