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.

# Answer

2500
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
2500
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?
train