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