var y,x:longint;
begin
read(x);
if x<0 then y:=-1;
if x=0 then y:=0;
if x>0 then y:=1;
writeln(y);
end.
var y,x:longint;
begin
read(x);
if x<0 then y:=-1;
if x=0 then y:=0;
if x>0 then y:=1;
writeln(y);
end.