Problem 1
Natural numbers are printed one immediately following the other:
12345678910111213...Note that the numbers greater than 9 take up two
digits (spaces) to print and the numbers greater than 99 take up three
or more digits to print. What is the 1000th digit printed?