Task: Program Execution
Input (English): n, 7511, 9833, 5609, 2315, 8727, u
Output (English): 2, 3, 4, 5, 6