A bookstore manager is arranging ten different books on a display shelf: three science books, four mathematics books, and three history books. How many distinct ways can the books be arranged if all the science books must be kept together and all the mathematics books must be kept together?
7200
8640
14400
17280
20160