Sam's Sweet Shoppe sells candy in bags of 30 pounds and bags of 50 pounds. Last week, Richard bought 300 pounds of candy for a birthday party from Sam's Sweet Shoppe. If at least one 30 pound bag of candy and at least one 50 pound bag of candy were purchased, what is the number of the 30 pound bags purchased?