var a,b,c,d:word;begin repeat a:=b;read(b)until eoln;repeat c:=a;a:=b;b:=(a+c)mod 10;write(b,^`);inc(d)until d>99end.