What is the solution to this math problem?
Solve -47*r + 9275 = 17737 - 9919 for r.
31