Aaditya Maheshwari's submission of ATM | CodeChef