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