prompt: A basketball team played 40 games and won 70% of the games. It still had 10 games to play. How many games can they lose to win 60% of their games?
messages.content: A basketball team played 40 games and won 70% of the games. It still had 10 games to play. How many games can they lose to win 60% of their games?
messages.role: user
messages.content: The team has won 40 x 70/100 = <<40*70/100=28>>28 games out of 40.
  There a total of 40 + 10 = <<40+10=50>>50 games to be played.
  The team has to win a total of is 50 x 60/100 = <<50*60/100=30>>30 games.
  So, it still needs to win 30 - 28 = <<30-28=2>>2 more games.
  Hence, they can still lose 10 - 2 = <<10-2=8>>8 games.
  #### 8
messages.role: assistant