1000/7 would be the number form for the problem in order to solve this.
1000/7 is 142.857142857
Rounded, this would be .86
.86 would be considered "the remainder"
Therefore, 86 pencils were left.
So your answer is most logically 86
(Hope it helped ^_^)