Task: Program Execution
Input (English): 2, 11, ['f', '5805', '5629', '487', 'q', 'o', 'u', 's', 'i', 'Z', 'h']
Output (English): 11921