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