Tarun Jaiswal's submission of ATM | CodeChef