Chapter:

Permutation-and-Combination

How many number of times will digit 7 be written when listing integers from 1 to 1000?