Task: Program Execution
Input (English): 1, 3, ['o', 'P', '1563', 'x', '3659', 'D']
Output (English): 3651Po