Task: Program Execution
Input (English): 2, 9, ['w', '4375', '7121', '3263', '8487', 'h', 'A', 'X', '4509', '9125', '7811', 'M']
Output (English): 4375712132638487hAX4509