repl.it
@anonymous/

UnrealisticAgonizingAuklet

Python 2.7

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
x="one two three four five six seven eight nine ten eleven twelve thir#four#fif#six#seven#eigh#nine#".replace("#","teen ").split()
x+=[a+"ty"+b for a in"twen","thir","for","fif"for b in['']+x[:9]]
v=input()
for s in range(1,x.index(v)+2)if v>50else x[:v]:print s