Task: Program Execution
Input (English): 4, 6, ['i', 'c', '5861', 'y', 'o', '9789', '9259', '4663', '3459', 'h', '5467']
Output (English): 9879oy