Abhrajyoti Kundu's submission of ATM | CodeChef