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