Task: Program Execution
Input (English): [6, 997, 397, 794, 433, 635, 431, 871]
Output (English): [997, 397, 433, 431]