Task: Program Execution
Input (English): [787, 689, 460, 97, 117, 358, 29, 617]
Output (English): [787, 97, 29, 617]