prompt: There were 10000 spectators at a basketball match. 7000 of them were men. Of the remaining spectators, there were 5 times as many children as women. How many children were there?
messages.content: There were 10000 spectators at a basketball match. 7000 of them were men. Of the remaining spectators, there were 5 times as many children as women. How many children were there?
messages.role: user
messages.content: There were 10000 - 7000 = <<10000-7000=3000>>3000 women and children.
  There were 3000 ÷ (5+1) = <<3000/(5+1)=500>>500 women.
  There are 500 × 5 = <<500*5=2500>>2500 children at the basketball match.
  #### 2500
messages.role: assistant