Moudud Hasan 's submission of ATM | CodeChef