Nishita Dutta's submission of ATM | CodeChef