Task: Program Execution
Input (English): 3, 8, ['Y', '9147', '2951', 'a', 'Q', '3847', 'B', '6213', 'm', 'J', 'd', 'f', 'x', 't']
Output (English): 6213B3847Qa2951