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