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