Sriram Ganapathy Krishnan's submission of ATM | CodeChef