Hritik Kumar Sharma's submission of ATM | CodeChef