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