Gennady Korotkevich's submission of Number Game Revisited | CodeChef