Question: What is the solution?

Solve 0 = -3*p + 29*p - 1 - 77 for p.

Answer: 3

Question: What is the solution?

Solve -1248 = -79*z + 175*z for z.

Answer: -13

Question: What is the solution?

Solve 2107 = 265*q + 1047 for q.

Answer: 4

Question: What is the solution?

Solve -30563*w = -32429*w + 153012 for w.

Answer:
82