Task: Program Execution
Input (English): 4, 18, ['O', '2273', 'e', '6007', 'M', '8545', 'I', 'J', '5461', 'w', 'V', 'U', 'f', 'w', 'l', '7671', 'A', 'p']
Output (English): pA1767lwfUVw1645JI5458M7006