Task: Program Execution
Input (English): 6841, 2487, K, B, 8929, j, N, 6335, j, 5521, 6365, 2947, 1083, 3191, X
Output (English): 1, 2, 5, 8, 10, 11, 12, 13, 14