import List l=[1..2997] main=mapM print$l\\[y+sum[read[c]|c<-show y]|y<-l]