// ¹83
var z,a:integer;
begin
writeln('Vvedite a');
readln(a);
if a>0 then z:=1;
if a=0 then z:=0;
if a<0 then z:=-1;
writeln(z);
end.