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