Task: Program Execution
Input (English): 2857, F, 1533, 8673, S, N, 4439, Z, g, f, 399
Output (English): F, S, N, Z, g, f, 2857, 1533, 8673, 4439, 399