Task: Program Execution
Input (English): 1, 5, ['3657', '3661', 'R', 'p', '543', 'i', 'm', 'R', '9375', '3673', '3209', 'N']
Output (English): 543pR36613657