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