6. When $s$ and $t$ take all real values,
$$
(s+7-|\cos t|)^{2}+(s-2|\sin t|)^{2}
$$

the minimum value is $\qquad$
6. 18

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly. 

However, since the text "6. 18" is already in a numerical form that is universal, it does not require translation. Here is the retained format:

6. 18