Prateek's submission of ATM | CodeChef