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