My answer is p=130.
There are 4 cases to consider:
1) $m=1$. Solving for $p$ we get
$$
p =-\frac{6\,n+12}{n+6}
$$
which is always negative. So $m \neq 1$.
2) $m=2$. Solving for $p$ we get
$$ p = -(n+2) < 0$$
So $m \neq 2$.
3) $m=3$. Solving for $p$ we get
$$
p=\frac{10 n+20}{n-10} = 10 + \frac{120}{n-10}$$
So the largest value of $p$ is when $n=11$. This gives $m=3$, $n=11$, $p=130$
4) $m=4$. Solving for $p$
$$ p = \frac{6 n+12}{n-6} = 6 + \frac{48}{n-6}$$
and the maximum value for $p$ is when $n=7$ and $p=54$
It is not very hard to show that as $m$ increases, the maximum value of $p$ decreases, so
the answer is
$$ m=3,~ n=11, ~ p=130$$
To show that we don't have to look for $m$ beyond $m=4$ establish the following:
1) Solve for $p$ and show that $\frac{dp}{dn} <0$. So we want $n$ as small as possible.
2) Set $n=m$, the smallest value of $n$ and simplify and show that solution to $p$ monotonically decreases for $m$.
I am sure there are simpler ways to show that $m \le 4$