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