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