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