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