Task: Program Execution
Input (English): 1371, R, 9713, 1603, v, M, q, w, 3253, 8943, 1971, F
Output (English): R, v, M, q, w, F, 1371, 9713, 1603, 3253, 8943, 1971