Task: Program Execution
Input (English): [577, 461, 377, 185, 151, 751]
Output (English): [577, 461, 151, 751]