Ankur Kayal's submission of Cut the Stick | CodeChef