Solve this math problem

Solve 593 = -46*h + 247*h - 2623 for h.
16