Task: Program Execution
Input (English): [3, 5, 7, 7, 7, 4]
Output (English): [3, 5, 4]