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