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