They all decide to meet at school, and they each bring their two ingredients.
• Terrance has 1 cup of flour and 6 eggs.
• Duri has 12 cups of flour and 1000 grams of butter.
• Habib has 3 cups of milk and 6 cups of sugar.
• Anika has 1 cup of sugar and 4 cups of milk.
How many cupcakes could they make together?