Task: Program Execution
Input (English): [3, 761, 467, 65, 151, 124, 991]
Output (English): [3, 761, 467, 151, 991]