prompt: During a soccer game, in the first half, Team A scored 8 points, and Team B scored only half as many points. In the second half, Team B was able to get as many points as Team A in the first half, and Team A scored only 2 goals less than Team B. How many goals did both teams score during the whole match?
messages.content: During a soccer game, in the first half, Team A scored 8 points, and Team B scored only half as many points. In the second half, Team B was able to get as many points as Team A in the first half, and Team A scored only 2 goals less than Team B. How many goals did both teams score during the whole match?
messages.role: user
messages.content: During the first half Team, B scored only 8 * 0.5 = <<8*0.5=4>>4 points.
  In the second half Team A scored 2 goals less than Team B, so they scored 8 - 2 = <<8-2=6>>6 points.
  So in total both teams scored 8 + 4 + 6 + 8 = <<8+4+6+8=26>>26 points.
  #### 26
messages.role: assistant