Task: Program Execution
Input (English): [797, 11, 157, 610, 506, 709]
Output (English): [797, 11, 157, 709]