12. Let $f(x)=|x-p|+|x-15|+|x-p-15|$, where $0<p<15$, if $p \leqslant x \leqslant 15$, then the minimum value of $f(x)$ is $\qquad$
15.



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