<human>:  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?
<bot>: How many seeds does Gwi have? ** If Bom has 300 seeds, then Gwi has 300+40 = <<300+40=340>>340 watermelon seeds.
How many seeds do Bom and Gwi have together? ** Together, Bom and Gwi have 340+300 = <<340+300=640>>640 melon seeds.
How many seeds does Yeon have? ** 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.
How many seeds do Bom, Gwi, and Yeon have together? ** Together, the three friends have 1020+640 = <<1020+640=1660>>1660 watermelon seeds.
#### 1660