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