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