Task: Program Execution
Input (English): L, 5971, x, 475, 9185, Z, 6187, X, 8379, 9539, 2831, Z, 8301, y, 6575, F, 701
Output (English): 5971, 475, 9185, 6187, 8379, 9539, 2831, 8301, 6575, 701