Task: Program Execution
Input (English): 3, 6, ['d', '2387', 'p', 'I', '2663', 'm', '4919', 'n', 'J']
Output (English): pI2663m