Yaseen Mollik's submission of ATM | CodeChef