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