Darshan Lokhande's submission of ATM | CodeChef