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