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