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