Task: Program Execution
Input (English): 3, 7, ['8867', '7271', 'b', '5105', 'Z', 'a', '1699', 'd']
Output (English): 6804