$\=Yes; <>; for(<>){ / /; $\=No if abs($x-$')>$`-$t; $x=$';$t=$`; } print