Task: Program Execution
Input (English): E, q, 4547, 5677, 1859, s, f, P, 3205, q, x, X, g, m, g, 9037, W, 3935, 3943, 1297, 255, g, l, r
Output (English): 4547, 5677, 1859, 3205, 9037, 3935, 3943, 1297, 255