Write down the solution for this math problem: Solve 1045*w - 2371*w + 47736 = 0 for w.
36