Math problem: Solve -50*c - 16591 + 8645 = 31*c - 8351 for c.
What is the solution?
5