<human>:  Lillian is making chocolate cupcakes to sell at a fundraiser. She only has 3 cups of sugar at home. She goes to the store and buys 2 bags of sugar. Each bag of sugar contains 6 cups. The batter uses 1 cup of sugar per 12 cupcakes. She needs 2 cups of sugar to make enough frosting for a dozen cupcakes. How many dozen cupcakes can she bake and ice with the sugar she has?
<bot>: How many cups of sugar are in each bag? ** The bags of sugar which she bought contain 2 * 6 = <<2*6=12>>12 cups.
How many cups of sugar does Lillian have? ** In total, she has 12 cups + 3 cups = <<12+3=15>>15 cups of sugar to use.
How many cups of sugar does Lillian need? ** She needs 1 cup + 2 cups = <<1+2=3>>3 cups of sugar to make the batter and frosting for a dozen cupcakes.
How many dozen cupcakes can Lillian bake and ice? ** Lillian has enough sugar to bake and ice 15 / 3 = <<15/3=5>>5 dozen cupcakes.
#### 5