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