Naman Anand's submission of ATM | CodeChef