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