In the storage room of a certain bakery, the ratio of sugar to flour is 5 to 8, and the ratio of flour to baking soda is 10 to 1. If there were 60 more pounds of baking soda in the room, the ratio of flour to baking soda would be 8 to 1. How many pounds of sugar are stored in the room?