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