Task: Program Execution
Input (English): 4849, g, 8867, 1235, K, 8177, q, R, 8733, 7587
Output (English): g, K, q, R, 4849, 8867, 1235, 8177, 8733, 7587