Sriram Ganapathy Krishnan's submission of Problem 2 | CodeChef