Task: Program Execution
Input (English): 3, 4, ['105', 'B', '4641', '9199', 'B', '2441']
Output (English): 13840