(a,b)=System.in.text[-4,-2]*.toLong() 100.times{b=(a+(a=b))%10;print"$b "}