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