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