Task: Program Execution
Input (English): 4287, t, L, G, 5821, x, x, o, 2947, p, 1883, 3933, p, W, 7465, J, j, 7267, s, O, i, r
Output (English): 4287, 5821, 2947, 1883, 3933, 7465, 7267