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