var num:Integer;
begin
ReadLn(num);
if (num < -9) and (num > -100) then
WriteLn('Yes')
else
WriteLn('No')
end.
var num:Integer;
begin
ReadLn(num);
if (num < -9) and (num > -100) then
WriteLn('Yes')
else
WriteLn('No')
end.