Task: Program Execution
Input (English): 3, ['O', '6747', '1799', '4195', 'Z', 'B', 'Q', 'j', 'q', 'h', '5943', '8739', '8997', '1687', 'P', 'i', '9271', 'm', 'r']
Output (English): O, 6747, 1799