Task: Program Execution
Input (English): [654, 929, 562, 358, 61, 853, 907, 839, 331, 578, 679, 563, 977, 165, 612, 860, 591, 718]
Output (English): [929, 61, 853, 907, 839, 331, 563, 977]