Aman Singh Rajput's submission of ATM | CodeChef