Math problem: Solve 2899 = 977*r - 1009 for r.
What is the solution?
4