Milan Patel's submission of ATM | CodeChef