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