Task: Program Execution
Input (English): 3, 6, ['3709', '8471', '5009', 'y', '1145', 'o', '4589']
Output (English): 5009, y, 1145, o