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