Task: Program Execution
Input (English): [877, 34, 427, 424, 163, 977, 164, 430, 969, 80, 811, 621, 111, 587, 210, 372, 971]
Output (English): [877, 163, 977, 811, 587, 971]