Shubham Nagaria's submission of ATM | CodeChef