Ashwanth K's submission of ATM | CodeChef