Task: Program Execution
Input (English): 6, ['Q', '3033', '3877', 'U', '8791', '7823', '1673', '479', '7065', 'm', '615', '8899', '3957', '4433', '4177', '7431', '6199', '5407', 'i', '1473']
Output (English): Q, 3033, 3877, U, 8791, 7823