Task: Program Execution
Input (English): 5, 5, ['M', '3957', '7425', '6669', '613']
Output (English): 613