Task: Program Execution
Input (English): 1, 5, ['5801', 'M', '7607', 'Q', '9015', 'v', '5147', 'v', '6971', 'h']
Output (English): 9015Q7607M5801