Question 811534
strictly speaking you didn't give enough info. You said the profit was 10000.
But you didn't say anything about amount received nor expenses.
You probably mean that 10,000 was taken in( received).
a+c=500, 
25a+15c=10000

a = 250,   c = 250
There were 250 adults and 250 children