Write down the solution for this math problem: Solve 179*b + 77*b = -149*b + 12249 - 2529 for b.
24