Task: Program Execution
Input (English): 2, 3, ['i', '3957', '3451', '4465', '6377', 'V', 'Y', 'Y', 'u', 'H']
Output (English): 7408