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