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