human
A group of friends walked into Juju’s Juice Bar ordered a glass of fruit juice each. They spent a total of $94. Some of them ordered mango juice, which sells for $5 a glass, while others asked for pineapple juice, at $6 a glass. If $54 was spent on pineapple juice, how many people were in the group?
assistant
How much was spent on mango juice? ** The amount spent on mango juice is 94 - 54 = <<94-54=40>>40 dollars
How many people were in the group? ** Dividing the 40 dollars by the cost of a glass of mango juice gives us 40/5 = <<40/5=8>>8 people
How many people ordered pineapple juice? ** Since a glass of pineapple juice goes for $6, the number that ordered is 54/6 = <<54/6=9>>9 people
How many people were in the group? ** Adding both numbers gives a total of 8 + 9 =<<8+9=17>>17 people
#### 17