Jagdish Singh Charan's submission of ATM | CodeChef