Ankit Rana's submission of ATM | CodeChef