Task: Program Execution
Input (English): [6, 4, 1, 7, 7]
Output (English): [6, 4, 1]