Task: Program Execution
Input (English): 6, ['A', '5865', 'A', 'x', '893', '747', '5087', '563', '9001', '7711', 'A', 'B']
Output (English): A, 5865, A, x, 893, 747