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