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