Task: Program Execution
Input (English): 1, 3, ['Q', 'B', '7217', '5327', 'l']
Output (English): 7127BQ