Ekram's submission of ATM | CodeChef