Mettu Shiva Reddy's submission of ATM | CodeChef