Task: Program Execution
Input (English): 5, ['L', 'C', 'F', 'G', '6673', '3371', '7091', '3431', 'J', '6821', 'q', '6789', '5167']
Output (English): L, C, F, G, 6673, 3371, 7091, 3431