The total amount of money that she lost is $400+$500 = $<<400+500=900>>900
If she remained with $900, she initially had $900+$800 = $<<900+800=1700>>1700
#### 1700