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