Sushant Gautam's submission of ATM | CodeChef