Task: Program Execution
Input (English): Y, i, 4283, 5511, d, 2365, 1063, f, 9663, R, U, 7191, 8017, 7829, P, 5119
Output (English): 4283, 5511, 2365, 1063, 9663, 7191, 8017, 7829, 5119