Let $\mathrm{g}(\mathrm{x})=\frac{(\mathrm{x}-1)^{\mathrm{n}}}{\log \cos ^{\mathrm{m}}(\mathrm{x}-1)} ; 0<\mathrm{x}<2, \mathrm{~m}$ and n are integers, $\mathrm{m} \neq 0, \mathrm{n}>0$, and let p be the left hand derivative of $|\mathrm{x}-1|$ at $x=1$. If $\lim _{x \rightarrow 1^{+}} g(x)=p$, then