Task: Program Execution
Input (English): 11, 12, ['B', '9811', '789', 'n', '8027', 'd', '8089', 'z', '4917', '1745', '7971', 'B', '7787', 'm']
Output (English): 7971