Garvit Choudhary's submission of ATM | CodeChef