What is the solution to this math problem?
Solve 312*r + 41662 = 177*r - 95*r - 333*r for r.
-74