Anurag Thakur's submission of ATM | CodeChef