Task: Program Execution
Input (English): 5, 5, ['5991', 'm', 'V', '7979', 'M', '9443', '705']
Output (English): M