Arun Yadav's submission of ATM | CodeChef