Sasi's submission of ATM | CodeChef