s="""one two three four five six seven eight nine""" t="""twenty thirty fourty fifty sixty seventy eighty ninety""" print"zero\n%s\nten\neleven\ntwelve"%s+t[6:].replace("ty","teen") for i in t.replace("u","").split("\n"): \x09print i \x09for j in s.split("\n"):print i+" "+j print"one hundred"
Note that non-ascii characters in the above source code will be escaped (such as \x9f).