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