prompt: Thomas made 4 stacks of wooden blocks. The first stack was 7 blocks tall. The second stack was 3 blocks taller than the first. The third stack was 6 blocks shorter than the second stack, and the fourth stack was 10 blocks taller than the third stack. If the fifth stack has twice as many blocks as the second stack, how many blocks did Thomas use in all?
messages.content: Thomas made 4 stacks of wooden blocks. The first stack was 7 blocks tall. The second stack was 3 blocks taller than the first. The third stack was 6 blocks shorter than the second stack, and the fourth stack was 10 blocks taller than the third stack. If the fifth stack has twice as many blocks as the second stack, how many blocks did Thomas use in all?
messages.role: user
messages.content: The second stack has 7 blocks + 3 blocks = <<7+3=10>>10 blocks.
  The third stack has 10 blocks - 6 blocks = <<10-6=4>>4 blocks.
  The fourth stack has 4 blocks + 10 blocks = <<4+10=14>>14 blocks.
  The fifth stack has 10 blocks x 2 = <<10*2=20>>20 blocks.
  In total there are 7 blocks + 10 blocks + 4 blocks + 14 blocks + 20 blocks = <<7+10+4+14+20=55>>55 blocks.
  #### 55
messages.role: assistant