Task: Program Execution
Input (English): 5, ['Q', '2947', '3821', '6197', '8467', 'n', 'U', '6393', '4873', '8779', 'i']
Output (English): Q, 2947, 3821, 6197, 8467, n