How many times do write digit 1 if you write all possible natural numbers up to seven digits using digits 0 and 1 only?