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