A recipe for making 1 cake requires 3 cups of sugar and 4 cups of flour. If you have 12 cups of sugar, how many cakes can you make, and how much flour will you need in total? Let's think step by step and output the final answer within \boxed{}.
user