A river cruise boat travels at a speed of 18 km/h in still water. If the river flows at a speed of 8 km/h, and if the cruise travels upstream and then downstream in one day, what is the average rate of speed of the cruise ship during the time it is actually moving?