Prabhatty's submission of ATM | CodeChef