Ayush Sinha's submission of ATM | CodeChef