A recipe for a cake requires 3 cups of flour for every 2 cups of sugar. If you have 12 cups of flour, how many cups of sugar do you need to use to keep the same ratio? Let's think step by step and output the final answer within \boxed{}.
user