Task: Program Execution
Input (English): 4, ['3947', 'B', '4273', 'G', 'M', 'n', '7727', '7031', '8013', 'x', '4227', 'q']
Output (English): 3947, B, 4273, G, M, n, 7727, 7031