Write down the solution for this math problem: Solve -10447 + 4534 = -58*q - 2*q - 5193 for q.
12