We'll write an anonymous function that loops through the prices array, calls halve to reduce each one, and then prints out the result.
prices
halve