Task: Program Execution
Input (English): 3, ['Q', 'U', 'F', 'U', '1951', '8177', 'c', 'D', '519', '959']
Output (English): Q, U, F