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