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