Showndarya Madhavan's submission of ATM | CodeChef