Task: Program Execution
Input (English): [523, 876, 514, 997, 165, 735]
Output (English): [523, 997]