Var x, y: real;
begin
read(x, y);
if (x >= -4) and (x <= -1) then<br> if (y >= 1) and (y <= 7) then<br> writeln('Yes')
else
writeln('No')
else if (x >= -1) and (x <= 3) then<br> if (y >= 4) and (y <= 7) then<br> writeln('Yes')
else
writeln('No')
else
writeln('No')
end.