Karthik's submission of Game on Numbers | CodeChef