Let "a" be the amount of money that A brought and let "b" be the amount of money that B brought. Then A lost 1 and B lost dollars. And, we are told, those are equal:
We are also told that "B brought 200 dollars more than A":
b= a+ 200.
Solve those two equations for a and b.