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