Task: Program Execution
Input (English): 1, 3, ['3513', 'P', '317', 'R']
Output (English): 317P3513