Task: Program Execution
Input (English): 9527, 1591, 7323, r, R, 8913, 6289, 6425, 2537, 3073, 7067, d, Y, 2385
Output (English): 9527, 1591, 7323, 8913, 6289, 6425, 2537, 3073, 7067, 2385