What is the solution to this math problem?
Solve -99790 + 253377 = 5166*n - 115045 for n.
52