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