Let the lines $L_1:\vec{r}=\hat{i}+2\hat{j}+3\hat{k}+\lambda(2\hat{i}+3\hat{j}+4\hat{k}),\lambda\in R$ and $L_2:\vec{r}=(4\hat{i}+\hat{j})+\mu(5\hat{i}+2\hat{j}+\hat{k}),\mu\in R$, intersect at the point $R$. Let $P$ and $Q$ be the point lying on lines $L_1$ and $L_2$, respectively, such that $\left|\overrightarrow{PR}\right|=\sqrt{29}$ and $\left|\overrightarrow{PQ}\right|=\sqrt{\frac{47}{3}}$. If the point $P$ lies in the first octant, then $27(QR)^2$ is equal to:
