Gagandeep Manku's submission of ATM | CodeChef