Task: Program Execution
Input (English): 4, ['5327', 'P', 'F', '8507', '9427', 't', '8619', 'C', '9789', 'Z']
Output (English): 5327, P, F, 8507