If Bom has 300 seeds, then Gwi has 300+40 = <<300+40=340>>340 watermelon seeds.

Together, Bom and Gwi have 340+300 = <<340+300=640>>640 melon seeds.

Yeon's number of watermelon seeds is three times as many as the number that Gwi has, meaning Yeon has 3*340 = <<3*340=1020>>1020 watermelon seeds.

Together, the three friends have 1020+640 = <<1020+640=1660>>1660 watermelon seeds.

# Answer

1660
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Yeon has three times as many watermelon seeds as Gwi. Gwi has 40 more watermelon seeds than Bom. If Bom has 300 watermelon seeds, how many seeds do they have together?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
1660
Yeon has three times as many watermelon seeds as Gwi. Gwi has 40 more watermelon seeds than Bom. If Bom has 300 watermelon seeds, how many seeds do they have together?
train