Kanchee Srivastava's submission of ATM | CodeChef