Two rainstorms occurred in one week in a certain area. In the first storm 25ml of rain fell per hour, and in the second storm 20ml of rain fell per hour. Rain fell that week for a total of 75 hours for a total rainfall of 1700ml. How long was each storm?