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