An empty pool can be filled in 5 hours if water is pumped in at 300 gallons an hour. How many hours would it take to fill the pool if water is pumped in at 500 gallons an hour?