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