Task: Program Execution
Input (English): 1, 4, ['7851', '9843', 'Z', '2167']
Output (English): 19861