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