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