yaman goel's submission of ATM | CodeChef