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