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