N=55555 a=50000 while N >=5: print(N) N -= a a//=10