Task: Program Execution
Input (English): [523, 823, 164, 540, 162, 599]
Output (English): [523, 823, 599]