Task: Program Execution
Input (English): 1, 3, ['2407', 'i', 'M']
Output (English): Mi7042