A woman went marketing for sugar for canning. In one store, sugar was 8 1/2¢ per pound and she found that she lacked 30¢ of having enough money to buy the number of pounds she needed. She bought the required amount of sugar at another store for 8¢ per pound, and had 45¢ left. How much money did she have before making the purchase?