import time start = time.time() singles = {0: "", 1: "one", 2: "two", 3: "three", 4: "four", 5: "five", 6: "six", 7: "seven", 8: "eight", 9: "nine", 10: "ten", 11: "eleven", 12: "twelve", 13: "thirteen", 14: "fourteen", 15: "fifteen", 16: "sixteen", 17: "seventeen", 18: "eighteen", 19: "nineteen"} tens = {2: "twenty", 3: "thirty", 4: "fourty", 5: "fifty", 6: "sixty", 7: "seventy", 8: "eighty", 9: "ninety"} hundred = "hundred" count = 0 for num in range(1001): if len(str(num)) == 4: word = "onethousand" elif len(str(num)) == 3: first = singles[num // 100] + hundred if num % 100 == 0: first = singles[num // 100] + hundred second = "" elif num % 100 < 20: first += "and" second = singles[num % 100] elif num % 100 < 100: first += "and" second = tens[(num % 100) // 10] if isinstance(((num % 100) / 10), float) and (num % 100 > 20): third = singles[(num % 100) % 10] else: third = "" word = first + second + third elif len(str(num)) == 2: if num > 19: first = tens[num // 10] second = singles[num % 10] word = first + second else: word = singles[num] elif len(str(num)) == 1: word = singles[num] print(word) count += len(word) print("The total number of letters in all words from 1 to 1000 is: {}".format( count)) print("Time: {}".format(time.time() - start))
Standard input is empty
one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen twenty twentyone twentytwo twentythree twentyfour twentyfive twentysix twentyseven twentyeight twentynine thirty thirtyone thirtytwo thirtythree thirtyfour thirtyfive thirtysix thirtyseven thirtyeight thirtynine fourty fourtyone fourtytwo fourtythree fourtyfour fourtyfive fourtysix fourtyseven fourtyeight fourtynine fifty fiftyone fiftytwo fiftythree fiftyfour fiftyfive fiftysix fiftyseven fiftyeight fiftynine sixty sixtyone sixtytwo sixtythree sixtyfour sixtyfive sixtysix sixtyseven sixtyeight sixtynine seventy seventyone seventytwo seventythree seventyfour seventyfive seventysix seventyseven seventyeight seventynine eighty eightyone eightytwo eightythree eightyfour eightyfive eightysix eightyseven eightyeight eightynine ninety ninetyone ninetytwo ninetythree ninetyfour ninetyfive ninetysix ninetyseven ninetyeight ninetynine onehundred onehundredandone onehundredandtwo onehundredandthree onehundredandfour onehundredandfive onehundredandsix onehundredandseven onehundredandeight onehundredandnine onehundredandten onehundredandeleven onehundredandtwelve onehundredandthirteen onehundredandfourteen onehundredandfifteen onehundredandsixteen onehundredandseventeen onehundredandeighteen onehundredandnineteen onehundredandtwenty onehundredandtwentyone onehundredandtwentytwo onehundredandtwentythree onehundredandtwentyfour onehundredandtwentyfive onehundredandtwentysix onehundredandtwentyseven onehundredandtwentyeight onehundredandtwentynine onehundredandthirty onehundredandthirtyone onehundredandthirtytwo onehundredandthirtythree onehundredandthirtyfour onehundredandthirtyfive onehundredandthirtysix onehundredandthirtyseven onehundredandthirtyeight onehundredandthirtynine onehundredandfourty onehundredandfourtyone onehundredandfourtytwo onehundredandfourtythree onehundredandfourtyfour onehundredandfourtyfive onehundredandfourtysix onehundredandfourtyseven onehundredandfourtyeight onehundredandfourtynine onehundredandfifty onehundredandfiftyone onehundredandfiftytwo onehundredandfiftythree onehundredandfiftyfour onehundredandfiftyfive onehundredandfiftysix onehundredandfiftyseven onehundredandfiftyeight onehundredandfiftynine onehundredandsixty onehundredandsixtyone onehundredandsixtytwo onehundredandsixtythree onehundredandsixtyfour onehundredandsixtyfive onehundredandsixtysix onehundredandsixtyseven onehundredandsixtyeight onehundredandsixtynine onehundredandseventy onehundredandseventyone onehundredandseventytwo onehundredandseventythree onehundredandseventyfour onehundredandseventyfive onehundredandseventysix onehundredandseventyseven onehundredandseventyeight onehundredandseventynine onehundredandeighty onehundredandeightyone onehundredandeightytwo onehundredandeightythree onehundredandeightyfour onehundredandeightyfive onehundredandeightysix onehundredandeightyseven onehundredandeightyeight onehundredandeightynine onehundredandninety onehundredandninetyone onehundredandninetytwo onehundredandninetythree onehundredandninetyfour onehundredandninetyfive onehundredandninetysix onehundredandninetyseven onehundredandninetyeight onehundredandninetynine twohundred twohundredandone twohundredandtwo twohundredandthree twohundredandfour twohundredandfive twohundredandsix twohundredandseven twohundredandeight twohundredandnine twohundredandten twohundredandeleven twohundredandtwelve twohundredandthirteen twohundredandfourteen twohundredandfifteen twohundredandsixteen twohundredandseventeen twohundredandeighteen twohundredandnineteen twohundredandtwenty twohundredandtwentyone twohundredandtwentytwo twohundredandtwentythree twohundredandtwentyfour twohundredandtwentyfive twohundredandtwentysix twohundredandtwentyseven twohundredandtwentyeight twohundredandtwentynine twohundredandthirty twohundredandthirtyone twohundredandthirtytwo twohundredandthirtythree twohundredandthirtyfour twohundredandthirtyfive twohundredandthirtysix twohundredandthirtyseven twohundredandthirtyeight twohundredandthirtynine twohundredandfourty twohundredandfourtyone twohundredandfourtytwo twohundredandfourtythree twohundredandfourtyfour twohundredandfourtyfive twohundredandfourtysix twohundredandfourtyseven twohundredandfourtyeight twohundredandfourtynine twohundredandfifty twohundredandfiftyone twohundredandfiftytwo twohundredandfiftythree twohundredandfiftyfour twohundredandfiftyfive twohundredandfiftysix twohundredandfiftyseven twohundredandfiftyeight twohundredandfiftynine twohundredandsixty twohundredandsixtyone twohundredandsixtytwo twohundredandsixtythree twohundredandsixtyfour twohundredandsixtyfive twohundredandsixtysix twohundredandsixtyseven twohundredandsixtyeight twohundredandsixtynine twohundredandseventy twohundredandseventyone twohundredandseventytwo twohundredandseventythree twohundredandseventyfour twohundredandseventyfive twohundredandseventysix twohundredandseventyseven twohundredandseventyeight twohundredandseventynine twohundredandeighty twohundredandeightyone twohundredandeightytwo twohundredandeightythree twohundredandeightyfour twohundredandeightyfive twohundredandeightysix twohundredandeightyseven twohundredandeightyeight twohundredandeightynine twohundredandninety twohundredandninetyone twohundredandninetytwo twohundredandninetythree twohundredandninetyfour twohundredandninetyfive twohundredandninetysix twohundredandninetyseven twohundredandninetyeight twohundredandninetynine threehundred threehundredandone threehundredandtwo threehundredandthree threehundredandfour threehundredandfive threehundredandsix threehundredandseven threehundredandeight threehundredandnine threehundredandten threehundredandeleven threehundredandtwelve threehundredandthirteen threehundredandfourteen threehundredandfifteen threehundredandsixteen threehundredandseventeen threehundredandeighteen threehundredandnineteen threehundredandtwenty threehundredandtwentyone threehundredandtwentytwo threehundredandtwentythree threehundredandtwentyfour threehundredandtwentyfive threehundredandtwentysix threehundredandtwentyseven threehundredandtwentyeight threehundredandtwentynine threehundredandthirty threehundredandthirtyone threehundredandthirtytwo threehundredandthirtythree threehundredandthirtyfour threehundredandthirtyfive threehundredandthirtysix threehundredandthirtyseven threehundredandthirtyeight threehundredandthirtynine threehundredandfourty threehundredandfourtyone threehundredandfourtytwo threehundredandfourtythree threehundredandfourtyfour threehundredandfourtyfive threehundredandfourtysix threehundredandfourtyseven threehundredandfourtyeight threehundredandfourtynine threehundredandfifty threehundredandfiftyone threehundredandfiftytwo threehundredandfiftythree threehundredandfiftyfour threehundredandfiftyfive threehundredandfiftysix threehundredandfiftyseven threehundredandfiftyeight threehundredandfiftynine threehundredandsixty threehundredandsixtyone threehundredandsixtytwo threehundredandsixtythree threehundredandsixtyfour threehundredandsixtyfive threehundredandsixtysix threehundredandsixtyseven threehundredandsixtyeight threehundredandsixtynine threehundredandseventy threehundredandseventyone threehundredandseventytwo threehundredandseventythree threehundredandseventyfour threehundredandseventyfive threehundredandseventysix threehundredandseventyseven threehundredandseventyeight threehundredandseventynine threehundredandeighty threehundredandeightyone threehundredandeightytwo threehundredandeightythree threehundredandeightyfour threehundredandeightyfive threehundredandeightysix threehundredandeightyseven threehundredandeightyeight threehundredandeightynine threehundredandninety threehundredandninetyone threehundredandninetytwo threehundredandninetythree threehundredandninetyfour threehundredandninetyfive threehundredandninetysix threehundredandninetyseven threehundredandninetyeight threehundredandninetynine fourhundred fourhundredandone fourhundredandtwo fourhundredandthree fourhundredandfour fourhundredandfive fourhundredandsix fourhundredandseven fourhundredandeight fourhundredandnine fourhundredandten fourhundredandeleven fourhundredandtwelve fourhundredandthirteen fourhundredandfourteen fourhundredandfifteen fourhundredandsixteen fourhundredandseventeen fourhundredandeighteen fourhundredandnineteen fourhundredandtwenty fourhundredandtwentyone fourhundredandtwentytwo fourhundredandtwentythree fourhundredandtwentyfour fourhundredandtwentyfive fourhundredandtwentysix fourhundredandtwentyseven fourhundredandtwentyeight fourhundredandtwentynine fourhundredandthirty fourhundredandthirtyone fourhundredandthirtytwo fourhundredandthirtythree fourhundredandthirtyfour fourhundredandthirtyfive fourhundredandthirtysix fourhundredandthirtyseven fourhundredandthirtyeight fourhundredandthirtynine fourhundredandfourty fourhundredandfourtyone fourhundredandfourtytwo fourhundredandfourtythree fourhundredandfourtyfour fourhundredandfourtyfive fourhundredandfourtysix fourhundredandfourtyseven fourhundredandfourtyeight fourhundredandfourtynine fourhundredandfifty fourhundredandfiftyone fourhundredandfiftytwo fourhundredandfiftythree fourhundredandfiftyfour fourhundredandfiftyfive fourhundredandfiftysix fourhundredandfiftyseven fourhundredandfiftyeight fourhundredandfiftynine fourhundredandsixty fourhundredandsixtyone fourhundredandsixtytwo fourhundredandsixtythree fourhundredandsixtyfour fourhundredandsixtyfive fourhundredandsixtysix fourhundredandsixtyseven fourhundredandsixtyeight fourhundredandsixtynine fourhundredandseventy fourhundredandseventyone fourhundredandseventytwo fourhundredandseventythree fourhundredandseventyfour fourhundredandseventyfive fourhundredandseventysix fourhundredandseventyseven fourhundredandseventyeight fourhundredandseventynine fourhundredandeighty fourhundredandeightyone fourhundredandeightytwo fourhundredandeightythree fourhundredandeightyfour fourhundredandeightyfive fourhundredandeightysix fourhundredandeightyseven fourhundredandeightyeight fourhundredandeightynine fourhundredandninety fourhundredandninetyone fourhundredandninetytwo fourhundredandninetythree fourhundredandninetyfour fourhundredandninetyfive fourhundredandninetysix fourhundredandninetyseven fourhundredandninetyeight fourhundredandninetynine fivehundred fivehundredandone fivehundredandtwo fivehundredandthree fivehundredandfour fivehundredandfive fivehundredandsix fivehundredandseven fivehundredandeight fivehundredandnine fivehundredandten fivehundredandeleven fivehundredandtwelve fivehundredandthirteen fivehundredandfourteen fivehundredandfifteen fivehundredandsixteen fivehundredandseventeen fivehundredandeighteen fivehundredandnineteen fivehundredandtwenty fivehundredandtwentyone fivehundredandtwentytwo fivehundredandtwentythree fivehundredandtwentyfour fivehundredandtwentyfive fivehundredandtwentysix fivehundredandtwentyseven fivehundredandtwentyeight fivehundredandtwentynine fivehundredandthirty fivehundredandthirtyone fivehundredandthirtytwo fivehundredandthirtythree fivehundredandthirtyfour fivehundredandthirtyfive fivehundredandthirtysix fivehundredandthirtyseven fivehundredandthirtyeight fivehundredandthirtynine fivehundredandfourty fivehundredandfourtyone fivehundredandfourtytwo fivehundredandfourtythree fivehundredandfourtyfour fivehundredandfourtyfive fivehundredandfourtysix fivehundredandfourtyseven fivehundredandfourtyeight fivehundredandfourtynine fivehundredandfifty fivehundredandfiftyone fivehundredandfiftytwo fivehundredandfiftythree fivehundredandfiftyfour fivehundredandfiftyfive fivehundredandfiftysix fivehundredandfiftyseven fivehundredandfiftyeight fivehundredandfiftynine fivehundredandsixty fivehundredandsixtyone fivehundredandsixtytwo fivehundredandsixtythree fivehundredandsixtyfour fivehundredandsixtyfive fivehundredandsixtysix fivehundredandsixtyseven fivehundredandsixtyeight fivehundredandsixtynine fivehundredandseventy fivehundredandseventyone fivehundredandseventytwo fivehundredandseventythree fivehundredandseventyfour fivehundredandseventyfive fivehundredandseventysix fivehundredandseventyseven fivehundredandseventyeight fivehundredandseventynine fivehundredandeighty fivehundredandeightyone fivehundredandeightytwo fivehundredandeightythree fivehundredandeightyfour fivehundredandeightyfive fivehundredandeightysix fivehundredandeightyseven fivehundredandeightyeight fivehundredandeightynine fivehundredandninety fivehundredandninetyone fivehundredandninetytwo fivehundredandninetythree fivehundredandninetyfour fivehundredandninetyfive fivehundredandninetysix fivehundredandninetyseven fivehundredandninetyeight fivehundredandninetynine sixhundred sixhundredandone sixhundredandtwo sixhundredandthree sixhundredandfour sixhundredandfive sixhundredandsix sixhundredandseven sixhundredandeight sixhundredandnine sixhundredandten sixhundredandeleven sixhundredandtwelve sixhundredandthirteen sixhundredandfourteen sixhundredandfifteen sixhundredandsixteen sixhundredandseventeen sixhundredandeighteen sixhundredandnineteen sixhundredandtwenty sixhundredandtwentyone sixhundredandtwentytwo sixhundredandtwentythree sixhundredandtwentyfour sixhundredandtwentyfive sixhundredandtwentysix sixhundredandtwentyseven sixhundredandtwentyeight sixhundredandtwentynine sixhundredandthirty sixhundredandthirtyone sixhundredandthirtytwo sixhundredandthirtythree sixhundredandthirtyfour sixhundredandthirtyfive sixhundredandthirtysix sixhundredandthirtyseven sixhundredandthirtyeight sixhundredandthirtynine sixhundredandfourty sixhundredandfourtyone sixhundredandfourtytwo sixhundredandfourtythree sixhundredandfourtyfour sixhundredandfourtyfive sixhundredandfourtysix sixhundredandfourtyseven sixhundredandfourtyeight sixhundredandfourtynine sixhundredandfifty sixhundredandfiftyone sixhundredandfiftytwo sixhundredandfiftythree sixhundredandfiftyfour sixhundredandfiftyfive sixhundredandfiftysix sixhundredandfiftyseven sixhundredandfiftyeight sixhundredandfiftynine sixhundredandsixty sixhundredandsixtyone sixhundredandsixtytwo sixhundredandsixtythree sixhundredandsixtyfour sixhundredandsixtyfive sixhundredandsixtysix sixhundredandsixtyseven sixhundredandsixtyeight sixhundredandsixtynine sixhundredandseventy sixhundredandseventyone sixhundredandseventytwo sixhundredandseventythree sixhundredandseventyfour sixhundredandseventyfive sixhundredandseventysix sixhundredandseventyseven sixhundredandseventyeight sixhundredandseventynine sixhundredandeighty sixhundredandeightyone sixhundredandeightytwo sixhundredandeightythree sixhundredandeightyfour sixhundredandeightyfive sixhundredandeightysix sixhundredandeightyseven sixhundredandeightyeight sixhundredandeightynine sixhundredandninety sixhundredandninetyone sixhundredandninetytwo sixhundredandninetythree sixhundredandninetyfour sixhundredandninetyfive sixhundredandninetysix sixhundredandninetyseven sixhundredandninetyeight sixhundredandninetynine sevenhundred sevenhundredandone sevenhundredandtwo sevenhundredandthree sevenhundredandfour sevenhundredandfive sevenhundredandsix sevenhundredandseven sevenhundredandeight sevenhundredandnine sevenhundredandten sevenhundredandeleven sevenhundredandtwelve sevenhundredandthirteen sevenhundredandfourteen sevenhundredandfifteen sevenhundredandsixteen sevenhundredandseventeen sevenhundredandeighteen sevenhundredandnineteen sevenhundredandtwenty sevenhundredandtwentyone sevenhundredandtwentytwo sevenhundredandtwentythree sevenhundredandtwentyfour sevenhundredandtwentyfive sevenhundredandtwentysix sevenhundredandtwentyseven sevenhundredandtwentyeight sevenhundredandtwentynine sevenhundredandthirty sevenhundredandthirtyone sevenhundredandthirtytwo sevenhundredandthirtythree sevenhundredandthirtyfour sevenhundredandthirtyfive sevenhundredandthirtysix sevenhundredandthirtyseven sevenhundredandthirtyeight sevenhundredandthirtynine sevenhundredandfourty sevenhundredandfourtyone sevenhundredandfourtytwo sevenhundredandfourtythree sevenhundredandfourtyfour sevenhundredandfourtyfive sevenhundredandfourtysix sevenhundredandfourtyseven sevenhundredandfourtyeight sevenhundredandfourtynine sevenhundredandfifty sevenhundredandfiftyone sevenhundredandfiftytwo sevenhundredandfiftythree sevenhundredandfiftyfour sevenhundredandfiftyfive sevenhundredandfiftysix sevenhundredandfiftyseven sevenhundredandfiftyeight sevenhundredandfiftynine sevenhundredandsixty sevenhundredandsixtyone sevenhundredandsixtytwo sevenhundredandsixtythree sevenhundredandsixtyfour sevenhundredandsixtyfive sevenhundredandsixtysix sevenhundredandsixtyseven sevenhundredandsixtyeight sevenhundredandsixtynine sevenhundredandseventy sevenhundredandseventyone sevenhundredandseventytwo sevenhundredandseventythree sevenhundredandseventyfour sevenhundredandseventyfive sevenhundredandseventysix sevenhundredandseventyseven sevenhundredandseventyeight sevenhundredandseventynine sevenhundredandeighty sevenhundredandeightyone sevenhundredandeightytwo sevenhundredandeightythree sevenhundredandeightyfour sevenhundredandeightyfive sevenhundredandeightysix sevenhundredandeightyseven sevenhundredandeightyeight sevenhundredandeightynine sevenhundredandninety sevenhundredandninetyone sevenhundredandninetytwo sevenhundredandninetythree sevenhundredandninetyfour sevenhundredandninetyfive sevenhundredandninetysix sevenhundredandninetyseven sevenhundredandninetyeight sevenhundredandninetynine eighthundred eighthundredandone eighthundredandtwo eighthundredandthree eighthundredandfour eighthundredandfive eighthundredandsix eighthundredandseven eighthundredandeight eighthundredandnine eighthundredandten eighthundredandeleven eighthundredandtwelve eighthundredandthirteen eighthundredandfourteen eighthundredandfifteen eighthundredandsixteen eighthundredandseventeen eighthundredandeighteen eighthundredandnineteen eighthundredandtwenty eighthundredandtwentyone eighthundredandtwentytwo eighthundredandtwentythree eighthundredandtwentyfour eighthundredandtwentyfive eighthundredandtwentysix eighthundredandtwentyseven eighthundredandtwentyeight eighthundredandtwentynine eighthundredandthirty eighthundredandthirtyone eighthundredandthirtytwo eighthundredandthirtythree eighthundredandthirtyfour eighthundredandthirtyfive eighthundredandthirtysix eighthundredandthirtyseven eighthundredandthirtyeight eighthundredandthirtynine eighthundredandfourty eighthundredandfourtyone eighthundredandfourtytwo eighthundredandfourtythree eighthundredandfourtyfour eighthundredandfourtyfive eighthundredandfourtysix eighthundredandfourtyseven eighthundredandfourtyeight eighthundredandfourtynine eighthundredandfifty eighthundredandfiftyone eighthundredandfiftytwo eighthundredandfiftythree eighthundredandfiftyfour eighthundredandfiftyfive eighthundredandfiftysix eighthundredandfiftyseven eighthundredandfiftyeight eighthundredandfiftynine eighthundredandsixty eighthundredandsixtyone eighthundredandsixtytwo eighthundredandsixtythree eighthundredandsixtyfour eighthundredandsixtyfive eighthundredandsixtysix eighthundredandsixtyseven eighthundredandsixtyeight eighthundredandsixtynine eighthundredandseventy eighthundredandseventyone eighthundredandseventytwo eighthundredandseventythree eighthundredandseventyfour eighthundredandseventyfive eighthundredandseventysix eighthundredandseventyseven eighthundredandseventyeight eighthundredandseventynine eighthundredandeighty eighthundredandeightyone eighthundredandeightytwo eighthundredandeightythree eighthundredandeightyfour eighthundredandeightyfive eighthundredandeightysix eighthundredandeightyseven eighthundredandeightyeight eighthundredandeightynine eighthundredandninety eighthundredandninetyone eighthundredandninetytwo eighthundredandninetythree eighthundredandninetyfour eighthundredandninetyfive eighthundredandninetysix eighthundredandninetyseven eighthundredandninetyeight eighthundredandninetynine ninehundred ninehundredandone ninehundredandtwo ninehundredandthree ninehundredandfour ninehundredandfive ninehundredandsix ninehundredandseven ninehundredandeight ninehundredandnine ninehundredandten ninehundredandeleven ninehundredandtwelve ninehundredandthirteen ninehundredandfourteen ninehundredandfifteen ninehundredandsixteen ninehundredandseventeen ninehundredandeighteen ninehundredandnineteen ninehundredandtwenty ninehundredandtwentyone ninehundredandtwentytwo ninehundredandtwentythree ninehundredandtwentyfour ninehundredandtwentyfive ninehundredandtwentysix ninehundredandtwentyseven ninehundredandtwentyeight ninehundredandtwentynine ninehundredandthirty ninehundredandthirtyone ninehundredandthirtytwo ninehundredandthirtythree ninehundredandthirtyfour ninehundredandthirtyfive ninehundredandthirtysix ninehundredandthirtyseven ninehundredandthirtyeight ninehundredandthirtynine ninehundredandfourty ninehundredandfourtyone ninehundredandfourtytwo ninehundredandfourtythree ninehundredandfourtyfour ninehundredandfourtyfive ninehundredandfourtysix ninehundredandfourtyseven ninehundredandfourtyeight ninehundredandfourtynine ninehundredandfifty ninehundredandfiftyone ninehundredandfiftytwo ninehundredandfiftythree ninehundredandfiftyfour ninehundredandfiftyfive ninehundredandfiftysix ninehundredandfiftyseven ninehundredandfiftyeight ninehundredandfiftynine ninehundredandsixty ninehundredandsixtyone ninehundredandsixtytwo ninehundredandsixtythree ninehundredandsixtyfour ninehundredandsixtyfive ninehundredandsixtysix ninehundredandsixtyseven ninehundredandsixtyeight ninehundredandsixtynine ninehundredandseventy ninehundredandseventyone ninehundredandseventytwo ninehundredandseventythree ninehundredandseventyfour ninehundredandseventyfive ninehundredandseventysix ninehundredandseventyseven ninehundredandseventyeight ninehundredandseventynine ninehundredandeighty ninehundredandeightyone ninehundredandeightytwo ninehundredandeightythree ninehundredandeightyfour ninehundredandeightyfive ninehundredandeightysix ninehundredandeightyseven ninehundredandeightyeight ninehundredandeightynine ninehundredandninety ninehundredandninetyone ninehundredandninetytwo ninehundredandninetythree ninehundredandninetyfour ninehundredandninetyfive ninehundredandninetysix ninehundredandninetyseven ninehundredandninetyeight ninehundredandninetynine onethousand The total number of letters in all words from 1 to 1000 is: 21224 Time: 0.006671905517578125