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