What number is represented by these base 10 blocks?

answer: 1117
the first block is 1000
the second is 100
the third is 10
then the last few count up to 7