Becky made 4 stacks of wooden blocks. The first stack was 9 blocks tall. The second stack was 7 blocks taller than the first. The third stack was 8 blocks shorter than the second stack, and the last stack was 7 blocks taller than the third stack. How many blocks did Becky use in all?​