Six bags of flour and six bags of sugar weigh 50 pounds. Eight bags of flour weighs 50 pounds. All bags of flour weigh the same, and all bags of sugar weigh the same. What is the ratio of the weight of a bag of flour to a bag of sugar?