Task: Program Execution
Input (English): 3, 3, ['m', '1139', 'F', '5801']
Output (English): F