6. Starting from any of $\mathrm{A} 、 \mathrm{~B} 、 \mathrm{C} 、 \mathrm{D} 、 \mathrm{E}$, move along the lines, with each line being walked at most once. Add the first 5 numbers encountered, the smallest sum obtained is $\qquad$ -
$18$