Task: Program Execution
Input (English): 7051, x, 6255, 855, d, d, 7597, h, U, 6819, 7875, 9947, 9545, L, 7451, 2423, c, 3513, Z, U, R
Output (English): 7051, 6255, 855, 7597, 6819, 7875, 9947, 9545, 7451, 2423, 3513