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