Find the value of p in the equation, 0.25p-50=240