A boat traveled downstream a distance of 33 mi and then came right back. If the speed on the current was 12 mph and the total trip took 3 hours and 40 minutes, find the average speed of the boat relative to the water. The boat had an average speed of __?