Task: Program Execution
Input (English): [31, 97, 24, 670, 969, 337, 103]
Output (English): [31, 97, 337, 103]