a grocery store bought some mangoes at a rate of 5 for a dollar . they were separated into two stacks , one of which was sold at a rate of 3 for a dollar and the other at a rate of for a dollar . what was the ratio of the number of mangoes in the two stacks if the store broke even after having sold all of its mangoes ?