Task: Program Execution
Input (English): 2, 4, ['B', '7661', '7051', 'K', '3905', '2709', '5873']
Output (English): K15071667