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