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