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