Rahul Vats's submission of ATM | CodeChef