Task: Program Execution
Input (English): 5, ['a', 'D', 'T', 'M', '8807', '4695', '2825', '5423', '9435', 'f']
Output (English): 4695, 2825, 5423, 9435, f