Devendra Pratap Singh's submission of ATM | CodeChef