Piyush Sethia's submission of ATM | CodeChef