Himanshu Agrawal's submission of ATM | CodeChef