Task: Program Execution
Input (English): 4, 5, ['S', '9349', '1201', 'P', '1445', 'S', 'i', '2167', '7467']
Output (English): 5441P