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