Task: Program Execution
Input (English): 5019, 2701, 2353, 3283, a, 7197, 9001, R
Output (English): a, R, 5019, 2701, 2353, 3283, 7197, 9001