Task: Program Execution
Input (English): 1, 5, ['M', '1925', 'O', 'h', '1231', '4919', '1585']
Output (English): 1231hO1925M