Task: Program Execution
Input (English): 5667, F, i, C, 2035, E, G, 4595, v, R, 2361, 121, 2953, 5133, 5829, L, 5587, R, j, 2995, U, 4501
Output (English): 5667, 2035, 4595, 2361, 121, 2953, 5133, 5829, 5587, 2995, 4501