Math problem: Solve 5772 = 565*d + 5752 + 20360 for d.
What is the solution?
-36