Solve 1782 = 17*p + 145*p for p.
Solve this plz.

A: 11

Solve 174588*h = 175187*h - 599 for h.
Solve this plz.

A: 1

Solve 8515 = -598*g + 24071 + 12550 for g.
Solve this plz.

A:
47