Task: Program Execution
Input (English): 5, ['5327', '3407', 'i', 'x', 'B', '3321', 'J', 'p', 'J', '5065', 'Q', '7395', 'J', 'g', '1967']
Output (English): 5327, 3407, i, x, B