Abhishek Vasudev's submission of ATM | CodeChef