She bought 5 dresses at $20 each for a total of 5*$20 = $<<5*20=100>>100
She bought 3 pairs of pants at $12 each for a total of 3*$12 = $<<3*12=36>>36
She bought 4 jackets at $30 each for a total of 4*$30 = $<<4*30=120>>120
She spent an additional $5 on transportation for a sum total of $5+$100+$36+$120 = $<<5+100+36+120=261>>261
She initially had $400 so she now has $400-$261 = $<<400-261=139>>139
#### 139