Question 970375

There are 3 times as many boys as girls in a room. If 4 boys and four girls leave the room, then there will be 5 times as many boys as girls in the room. In total, how many boys and girls were in the room originally?
<pre>Original numbers: {{{highlight_green(system(8_girls,24_boys))}}}