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