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