Anand Rana's submission of ATM | CodeChef