prompt: A school is getting ready to open for the year and the sports class is organizing the equipment they have been donated. In total, they have 300 donations to organize. 60 of these were basketball hoops, half of which also had basketballs included as part of the donation. 120 pool floats were donated, but a quarter of these were damaged and were discarded before the sports class arrived. There were 50 footballs, 40 tennis balls, and the remaining donations were basketballs. In total, how many basketballs have been donated?
messages.content: A school is getting ready to open for the year and the sports class is organizing the equipment they have been donated. In total, they have 300 donations to organize. 60 of these were basketball hoops, half of which also had basketballs included as part of the donation. 120 pool floats were donated, but a quarter of these were damaged and were discarded before the sports class arrived. There were 50 footballs, 40 tennis balls, and the remaining donations were basketballs. In total, how many basketballs have been donated?
messages.role: user
messages.content: Some of the pool floats were damaged, which means that 120 / 4 = <<120/4=30>>30 pool floats were discarded.
  This left the class with 120 – 30 = <<120-30=90>>90 pool floats that were actually part of the donations they need to organize.
  This means there were a total of 60 basketball hoops + 90 pool floats + 50 footballs + 40 tennis balls = <<60+90+50+40=240>>240 donations that were not basketballs.
  So out of the donations, there were 300 donations – 240 = <<300-240=60>>60 basketballs.
  In addition, half of the basketball hoops were donated with a basketball included which amounts to 60 basketball hoops / 2 = <<60/2=30>>30 basketballs.
  There was therefore a total of 60 + 30 = <<60+30=90>>90 basketballs donated.
  #### 90
messages.role: assistant