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