(m-47889)+89=6004
m-47889+89=6004
m=6004-89+47889
m=53804
2732+(5000-n)=4803
2732+5000-n=4803
-n=4803-2732-5000
-n=-2929
n=2929
(p+7245)-3834=6357
p+7245-3834=6357
p=6357+3834-7245
p=2946
(m-47889)+89=6004
m-47889+89=6004
m=6004-89+47889
m=53804
2732+(5000-n)=4803
2732+5000-n=4803
-n=4803-2732-5000
-n=-2929
n=2929
(p+7245)-3834=6357
p+7245-3834=6357
p=6357+3834-7245
p=2946