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