# Simultaneous Prime Equations

$\large 5p-q=r+1 , \qquad \dfrac{7p+q}{r}=p+1$

Let $p$, $q$ and $r$ be prime numbers satisfying the system of equations above. Find the maximum value of $p+q+r$.

×