Task: Program Execution
Input (English): 5435, R, T, j, n, g, 6271, C, 2761, 471, 8311, S, G, N, K, 5119, 1339
Output (English): R, T, j, n, g, C, S, G, N, K, 5435, 6271, 2761, 471, 8311, 5119, 1339