Ashutosh Jadhav's submission of ATM | CodeChef