Satyam Vivek's submission of Cut the Stick | CodeChef