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