how many ways are there to order 2 math books, 3 science books, and 2 history books on a bookshelf? Books of the same subject are indistinguishable from each other

There are 448 ways.