prompt: Iris has a berry farm. Her brother and sister help her to pick up the berries and sell them to the market. Iris picked 30 blueberries, her sister picked 20 cranberries, and her brother was able to pick 10 raspberries. If 1/3 of the total berries they were able to pick are rotten and the remaining 1/2 of the fresh berries need to be kept, how many berries will they be able to sell?
messages.content: Iris has a berry farm. Her brother and sister help her to pick up the berries and sell them to the market. Iris picked 30 blueberries, her sister picked 20 cranberries, and her brother was able to pick 10 raspberries. If 1/3 of the total berries they were able to pick are rotten and the remaining 1/2 of the fresh berries need to be kept, how many berries will they be able to sell?
messages.role: user
messages.content: Iris and his brother and sister were able to pick a total of 30 + 20 + 10 = <<30+20+10=60>>60 berries.
  The rotten berries that needed to be thrown away are (1/3) x 60 = <<(1/3)*60=20>>20.
  So, the total number of fresh berries is 60 - 20 = <<60-20=40>>40.
  The berries they need to keep are (1/2) x 40 = <<(1/2)*40=20>>20.
  Therefore, the total number of berries they will be able to sell is 40 - 20 = <<40-20=20>>20.
  #### 20
messages.role: assistant