Task: Program Execution
Input (English): 2, 3, ['3951', '7', 'M']
Output (English): 7, M