Task: Program Execution
Input (English): 1, 3, ['P', '7123', '321']
Output (English): P7123321