After losing 57 legos, Nellie has 380 - 57 = <<380-57=323>>323 legos.

After giving her sister 24 legos Nellie has 323 - 24 = <<323-24=299>>299 legos

# Answer

299
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Nellie had 380 legos, but she lost 57 of them and gave her sister 24 legos. How many legos does she have now?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
299
Nellie had 380 legos, but she lost 57 of them and gave her sister 24 legos. How many legos does she have now?
train