Task: Program Execution
Input (English): 1, 2, ['B', '2205', 'S', '2571']
Output (English): 5022B