Task: Question Answering
Input (English): Question: The flow of water through a drainage pipe was monitored for a 3-hour period. In the second hour, the rate of flow was 12 gallons per hour, which was 50 percent faster than the rate of flow for the first hour. If 25 percent more water flowed through the pipe in the third hour than it did in the second, how many gallons of water flowed through the pipe during the entire three hours?

 Option A: 31.25

 Option B: 31.5

 Option C: 33.75

 Option D: 35.0

 Option E: 37.5
Output (English): Option D