Arpan Kumar Mishra's submission of ATM | CodeChef