Task: Program Execution
Input (English): 1, 1, ['1881', 'M']
Output (English): 1881