What is the solution?

Solve 814 = 56*p + 51 + 91 for p.
12