Then $n-7=5$ and $n+7=p$, that is $n=12$ and $p=19$.
Or $n-7=-5$ and $n+7=-p$, that is $n=2$ and $p=-9$ which is negative.
Or $n+7=5$ and $n-7=p$, that is $n=-2$ and $p=-9$ which is negative.
Or $n+7=-5$ and $n-7=-p$, that is $n=-12$ and $p=-19$, which is negative.
Or $n-7=1$ and $n+7=5p$, that is $n=8$ and $p=3$.
Or $n-7=-1$ and $n+7 = -5p$, that is $n=6$ and $p=-13/5$ which is not an integer.
Or $n+7=1$ and $n-7=5p$, that is $n=-6$ and $p=-13/5$ which is not an integer.
Or $n+7=-1$ and $n-7=5p$, that is $n=-8$ and $p=-3$ which is negative.
So in conclusion, the only possible numbers are $p= 3, 19$.