Harpreet Kaur's submission of ATM | CodeChef