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