Task: Program Execution
Input (English): 2599, N, 8621, 9935, z, K, v, 4107, 4287, Q, 5769, 3309, z, 5069, 9933, 8265, X
Output (English): 1, 3, 4, 8, 9, 11, 12, 14, 15, 16