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