Pavan kumar's submission of ATM | CodeChef