Solve this math problem

Solve -16790 + 10672 = -161*p for p.
38