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{}.
user