What is the solution to this math problem?
Solve -10787*o + 91085 = 89040 + 498247 for o.
-46