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