Solve this math problem

Solve -146940 = -10449*r + 1067 + 144565 for r.
28