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