Task: Program Execution
Input (English): 3, ['9043', '4087', 'Z', 'M', 'F', 'L']
Output (English): M, F, L