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