Problem: Solve 774 = 211*r + 307 - 1010 for r.
And the answer is...
7