Abhishek Pandey's submission of ATM | CodeChef