Ankan's submission of ATM | CodeChef