Navya Gourishetty's submission of ATM | CodeChef