human
Ariana heard the news that a new grocery store had opened up in their town, so she decided to buy some flowers for her house. She bought a bunch of 40 flowers, 2/5 of which were roses, 10 were tulips, and the rest were carnations. How many carnations did she buy?
assistant
How many roses are in the bunch? ** The number of roses in the bunch is 2/5 * 40 flowers = <<2/5*40=16>>16 flowers
How many flowers are there in total? ** The total number of roses and tulips is 16 flowers + 10 flowers = <<16+10=26>>26 flowers
How many carnations did Ariana buy? ** There were 40 flowers - 26 flowers = <<40-26=14>>14 carnations
#### 14