Krishnan Raghavan's submission of Code | CodeChef