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