Jinia Yesmin's submission of ATM | CodeChef