Task: Program Execution
Input (English): M, 9603, 1239, x, 383, 1257, L, 8899, u, 8887, 4747, 4919, B, 8401, 6945, 5453, N, 6261, 1811, f, 3191, q, 6043, 6257
Output (English): 2, 3, 5, 6, 8, 10, 11, 12, 14, 15, 16, 18, 19, 21, 23, 24