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