Pooja Rani's submission of ATM | CodeChef