Task: Program Execution
Input (English): 5, ['A', 'd', 'w', '8909', '4447', 'd', 'f', 'h', 'O', 'F']
Output (English): d, f, h, O, F