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