Task: Program Execution
Input (English): 5, 7, ['Y', 'd', 'g', '9305', '7323', '9439', 'B', 'D', 'u']
Output (English): 16762