Task: Program Execution
Input (English): Z, G, 2291, C, 9173, 7427, 5565, 1479, x, u, m, N, 4035, q, 8519, 8203, 5723, Y, M, 6661, G, F, 201, 1591
Output (English): Z, G, C, x, u, m, N, q, Y, M, G, F