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