human
Gina had $400. She gave 1/4 of her money to her mom,  used 1/8  of her money to buy clothes,  gave 1/5 of her money to a charity,  and kept the remaining money. How much did Gina keep?
assistant
How much did Gina's mom receive? ** Gina's mom received 1/4 x $400 = $<<1/4*400=100>>100.
How much did Gina use to buy clothes? ** She used 1/8 x $400 = $<<1/8*400=50>>50 to buy clothes.
How much did Gina give to a charity? ** She gave 1/5 x $400 = $<<1/5*400=80>>80 to a charity.
How much did Gina spend? ** Thus, she spent a total of $100 + $50 + $80 = $<<100+50+80=230>>230.
How much did Gina keep? ** Therefore, Gina kept $400 - $230 = $<<400-230=170>>170.
#### 170