Ezra spend 60 dollars on gas each week for a period of three weeks. The first week gas was 3 dollars per gallon, the second week it was 4 dollars per gallon, and the third week it was 5 dollars per gallon. How many gallons of gas did Ezra purchase in total over the 3 weeks?