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