sachin's submission of ATM | CodeChef