Task: Program Execution
Input (English): [239, 582, 376, 616, 677, 605, 837]
Output (English): [239, 677]