Task: Program Execution
Input (English): 1, 1, ['4953', 'P', 'I']
Output (English): 3594