prompt: In a basketball game, Jon scored 3 points. Jack scored 5 points more than Jon, and Tom scored 4 less than the points of Jon and Jack together. How many points did they score altogether?
messages.content: In a basketball game, Jon scored 3 points. Jack scored 5 points more than Jon, and Tom scored 4 less than the points of Jon and Jack together. How many points did they score altogether?
messages.role: user
messages.content: Jack scored 3 + 5 = <<3+5=8>>8 points.
  Together, Jon and Jack scored 8 + 3 = <<8+3=11>>11 points.
  So, Tom scored 11 - 4 = <<11-4=7>>7 points.
  Thus, Jon, Jack, and Tom scored a total of 3 + 8 + 7 = <<3+8+7=18>>18 points.
  #### 18
messages.role: assistant