Solve this math problem

Solve -5272 = 369*h - 18187 for h.
35