Max bought two deli sandwich rolls measuring 18 inches and 30 inches. He want them to be cut in equal sections that are as long as possible. Into what lengths should the rolls be cut?