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