Sarthak Chauhan's submission of ATM | CodeChef