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