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