Task: Program Execution
Input (English): 3, ['h', 'j', 'H', 'T', 'F', '9629', 'M']
Output (English): T, F, 9629, M