3. A spider has woven a web that consists of the x-axis, the y-axis, as well as the following curves: $y=x, y=-x, x^{2}+y^{2}=9, x^{2}+y^{2}=25, x^{2}+y^{2}=49, x^{2}+y^{2}=81$. In one day, flies have been caught in all the nodes. The spider is sitting at the point $(0,0)$ and plans to eat all the flies. What is the minimum distance the spider will travel before it finishes eating?
Do not round the answer. For writing the number $\pi$, use the Russian letter п or the English letter r.

Examples of writing the answer:

$3 \mathrm{p}+10$

$1.5 \pi+7.5$

Answer: $12 \mathrm{p}+47$ || $47+12 \mathrm{p}$ || 12 п +47 || $47+12$ п || $12^{*} \mathrm{p}+47$ || $47+12^{*} \mathrm{p}$ || $12^{*}{ }^{*}+47$ || $47+12^{*}{ }_{\text {п }}$ | $p^{*} 12+47 \| n^{*} 12+47$