Task: Program Execution
Input (English): 3, 3, ['M', '7077', '2709']
Output (English): 2709