Task: Program Execution
Input (English): 8, 10, ['b', 's', 'T', '6327', '5181', 'K', '3371', 'Z', '3547', 'F']
Output (English): Z, 3547, F