var x,y,m:integer;
BEGIN
readln(x,y);
if (x=y) then m:=0;
if (x>y) then m:=-1;
if (x<y) then m:=1;
writeln(m);
end.
var x,y,m:integer;
BEGIN
readln(x,y);
if (x=y) then m:=0;
if (x>y) then m:=-1;
if (x<y) then m:=1;
writeln(m);
end.