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