Rahul's submission of ATM | CodeChef