Task: Program Execution
Input (English): U, l, G, 6497, d, 7527, R, 4717, 2923, J, 4725, 2485, 309, 8005, B
Output (English): 6497, 7527, 4717, 2923, 4725, 2485, 309, 8005