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