Task: Program Execution
Input (English): y, n, 6605, 8949, 3597, 2033, 4509, C, Q, I
Output (English): 1, 2, 8, 9, 10