Aakash Chouhan's submission of ATM | CodeChef