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