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