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