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