The number of ways in which 12 books can be put in three shelves with four on each shelf is
There are 6 books of physics, 3 of chemistry and 4 of biology. Number of ways in which these books can be placed on a shelf if the books of the same subject are to be together is