Sarah is making friendship bracelets. She wants to make bracelets that are 8 inches long and 12 inches long. What is the smallest length of string she can use for each bracelet if she doesn’t want to have any leftover string?