main=f 0 f i=do s<-getLine let n=sum[i|i