Task: Program Execution
Input (English): 1, 3, ['5851', 'x', 'F', '111', 'v', '7397', 'g']
Output (English): 5851