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