var
f,c,a,b:integer;
begin
writeln('Ââåäèòå A è B');
readln(a,b);
c:=a+b;
if c<100 then f:=0
else f:=1;
writeln(f);
readln
end.
