Task: Program Execution
Input (English): 1461, 8263, 6853, R, 7565, 9787, 3285, e, 5871, g, 5955, k, 7021, 9543, 9371, 7871
Output (English): 1461, 8263, 6853, 7565, 9787, 3285, 5871, 5955, 7021, 9543, 9371, 7871