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