She loses 5 marbles because 25 x .2 = <<25*.2=5>>5

She has 20 marbles after this because 25 - 5 = <<25-5=20>>20

Her friend gives her 40 marbles because 20 x 2 = <<20*2=40>>40

Adding those marbles to the 20 she had before, she ends up with 40 marbles + 20 marbles = <<40+20=60>>60 marbles

# Answer

60
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Baez has 25 marbles. She loses 20% of them one day. Then a friend sees her and gives her double the amount that Baez has after she lost them. How many marbles does Baez end up with?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
60
Baez has 25 marbles. She loses 20% of them one day. Then a friend sees her and gives her double the amount that Baez has after she lost them. How many marbles does Baez end up with?
train