Task: Program Execution
Input (English): 1, 3, ['8367', '2457', 'X', '1339', '719', '1311', 'W', 'c', 'H', '4957', '885', 'N']
Output (English): 10824