Gina's mom received 1/4 x $400 = $<<1/4*400=100>>100.

She used 1/8 x $400 = $<<1/8*400=50>>50 to buy clothes.

She gave 1/5 x $400 = $<<1/5*400=80>>80 to a charity.

Thus, she spent a total of $100 + $50 + $80 = $<<100+50+80=230>>230.

Therefore, Gina kept $400 - $230 = $<<400-230=170>>170.

# Answer

170
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
170
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?
train