Write down the solution for this math problem: Solve 12*r - 177 + 47 = -82 for r.
4