In a hot dog eating contest the average number of hot dogs that were eaten by boys was 7 each, and the average number eaten by girls was 5 each. If the total number of hot dogs eaten during the contest was 50, what was the total number of boys and girls in the contest?  Choose the correct choice.
A) 6
B) 7
C) 8
D) 9
E) 10
We can determine quickly that total number should range between 50/7&lt;= N &lt;= 50/5 , so ans should be between 7 and 10.   Now solving the expression 7A+5B =50   decreasing 50 by multiples of 7 and checking divisibility of that number by 5, we get   5 boys and 3 girls will total 50 hot dogs, 5*7 + 3*5 = 50   Hence total number is  5 + 3= 
<gadget id="calculator"> 5 + 3</gadget>
<output>8</output>
8   Ans 8
<result>C</result>
In a hot dog eating contest the average number of hot dogs that were eaten by boys was 7 each, and the average number eaten by girls was 5 each. If the total number of hot dogs eaten during the contest was 50, what was the total number of boys and girls in the contest?