Task: Program Execution
Input (English): 5, 8, ['2403', '1001', 'x', '8215', 'J', '701', '9825', '5137', '3881', '4083', '9147', '101']
Output (English): 15663