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