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