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