Task: Program Execution
Input (English): 1, 4, ['f', '5705', '9837', '3857', '347', 'Z', 'P', '5989', '8507', '2245', 'v', '5307', '4035', 'R', '8999', 'w', 'O']
Output (English): f, 347, 8507, 4035, O