Joseph buys a gallon of milk every 6th day and a box of cereal every 8th day. He bought both items today. In how many days will he buy both items together again?

A.
14
B.
18
C.
32
D.
24

D. 24