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