Aayush Jalan's submission of ATM | CodeChef