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