A teacher wants to arrange 3 copies of Introduction to Geometry and 4 copies of Introduction to Number Theory and 2 copies of Introduction to Algebra on a bookshelf. In how many ways can he do that?
AAA BBBB CC in a row
9! / (3!*4!*2!)