A cookie recipe yields cookies and requires cups of flour, cup of sugar, and cup of butter. Sarah wants to bake these cookies and has cups of flour, cups of sugar, and cup of butter. Assuming she uses all available ingredients optimally while maintaining the recipe's ratios, what is the maximum number of cookies she can prepare?