program note;
var a,b,c,d,e,f,g,h,i,j:integer;
begin
readln(a,b,c,d,e,f,g,h);
if a=1 then i:=0+1;
if b=2 then i:=i+1;
if c=3 then i:=i+1;
if d=4 then i:=i+1;
if e=5 then i:=i+1;
if f=6 then i:=i+1;
if g=7 then i:=i+1;
if h=8 then i:=i+1;
if i=8 then writeln('uzlazno');
if a=8 then j:=0+1;
if b=7 then j:=j+1;
if c=6 then j:=j+1;
if d=5 then j:=j+1;
if e=4 then j:=j+1;
if f=3 then j:=j+1;
if g=2 then j:=j+1;
if h=1 then j:=j+1;
if j=8 then writeln('silazno');
if (i<8) and (j<8) then writeln('razlozeno');
readln;
end.
