Task: Program Execution
Input (English): 5, 8, ['3359', 'n', '2747', '4769', 'f', 'f', '4431', '8623', '949']
Output (English): 8623, 4431, f, f