Anonymous answered 5001 each from 0-89 (so thats 9)then 11 times from 90-99 from 100-199 it is 40 so from 0 to 899 is 40x9= 360from 900 to 1000 it is 140 360+140= 500