In how many ways can I arrange $3$ different math books and $4$ different history books on my bookshelf, if at least three of the history books are next to each other?