Task: Program Execution
Input (English): 3119, g, Q, 5513, C, v, 5049, 7011, 2489, 4661, Z, n, 8713, V, 1689, 2743, 2197, Q, 2047, N, 2769
Output (English): g, Q, C, v, Z, n, V, Q, N