program algorytm;
var
a, b : longint;
begin
readln(a);
readln(b);
if a<b then
writeln('-1')
else
if a=b then
writeln('0')
else
writeln('1')
end.
cHJvZ3JhbSBhbGdvcnl0bTsKCnZhciAKICBhLCBiIDogbG9uZ2ludDsKYmVnaW4KCXJlYWRsbihhKTsKCXJlYWRsbihiKTsKCQoJaWYgYTxiIHRoZW4KCSAgICAgICB3cml0ZWxuKCctMScpCgllbHNlCgkJaWYgYT1iIHRoZW4KCQkJd3JpdGVsbignMCcpCgkJZWxzZQoJCQl3cml0ZWxuKCcxJykKCmVuZC4=