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?
wait, you made a error - you need to subtract the 6 ways all four are together 3 times, as that was quadruple counted