There are 5 boys and 3 girls. In how many ways can they be seated in a row so that all the three girls do not sit together?
Choose the most appropriate option:
A) 24000 B) 36000 C) 54200 D) 32560 E) 45100
Total number of persons = 5+3= 
<gadget id="calculator">5+3</gadget>
<output>8</output>
8   they can be seated in a row in 8! ways   Treat 3 girls as 1 so we have 6 people can be arranged in 6! ways   Three girls can be arranged among themselves in 3! ways   Required number of ways= 8!-6!*3! = 36000   Answer is 36000
<result>B</result>
There are 5 boys and 3 girls. In how many ways can they be seated in a row so that all the three girls do not sit together?