Task: Program Execution
Input (English): [709, 204, 467, 123, 615, 710, 861, 376, 238, 199, 31, 397]
Output (English): [709, 467, 199, 31, 397]