main=interact$f.foldl1(-).map read.words;f a|a>0="No"|0<1="Yes"