Task: Program Execution
Input (English): 4, 8, ['3573', '9813', '3867', 'i', '5291', '1987', '9811', 'A']
Output (English): 17089