Ankit Jaiswal's submission of ATM | CodeChef