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