tanvir's submission of ATM | CodeChef