Task: Program Execution
Input (English): 3, 10, ['V', '2709', '9169', 'Z', 'X', 'Y', '6821', '5191', '4261', '23']
Output (English): 23426151916821YXZ9169