($a,$b)=split/ /,<>; $b*=-1 if$b<0; print qw(No Yes)[$a<$b?1:0];