Task: Program Execution
Input (English): 3, 7, ['6121', '4409', 'D', 'V', '5627', 'h', 'p', 'F', 'd', 'e', '9883']
Output (English): ph7265VD