Task: Program Execution
Input (English): 1, 6, ['a', '8347', '2641', 'g', 'o', 'J']
Output (English): 10988