Task: Program Execution
Input (English): g, N, 8723, Q, c, 6981, f, 4245, 809
Output (English): g, N, Q, c, f, 8723, 6981, 4245, 809