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