Ishu Rani's submission of ATM | CodeChef