Task: Program Execution
Input (English): 1, 3, ['m', '961', '2779']
Output (English): 3740