Task: Program Execution
Input (English): 3, ['f', '6789', 'd', '6503', '4091', 'N', 'w', '5251', '4001', '6471', '8499', 'f']
Output (English): f, 6789, d