Task: Program Execution
Input (English): 1, 1, ['8131', 'P']
Output (English): 8131