Pooja Biyani's submission of ATM | CodeChef