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