A student has five math books, four history books, and three biology books. She puts all the books on the shelf in random order.
Determine the probability that:
(A) The biology books are together?
(B) The books are arranged by subject? (all the books on the same subject are together)?