Task: Program Execution
Input (English): 6117 a c 5829 T F S 429 F M N 5763 c x X 1225 6949 6501 7161 5173 1989 8813 X L a 1159 8759 4921 9581
Output (English): a, c, T, F, S, F, M, N, c, x, X, X, L, a, 6117, 5829, 429, 5763, 1225, 6949, 6501, 7161, 5173, 1989, 8813, 1159, 8759, 4921, 9581