Gennady Korotkevich's submission of Tower Counting | CodeChef