Task: Program Execution
Input (English): [40, 943, 154, 104, 546, 936, 647, 997]
Output (English): [647, 997]