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