Abhishek Garain's submission of ATM | CodeChef