4. Given real numbers $x, y$ satisfy
$\frac{x^{2}}{3}+y^{2}=1$, then the range of $P=|2 x+y-4|+|4-x-2 y|$ is $\qquad$
Let $x=\sqrt{3} \cos \theta, y=\sin \theta$, then $P=|2 \sqrt{3} \cos \theta+\sin \theta-4|+|4-\sqrt{3} \cos \theta-2 \sin \theta|$ $=8-3 \sqrt{3} \cos \theta-3 \sin \theta=8-6 \sin \left(\theta+\frac{\pi}{3}\right) \in[2,14]$.