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