import qualified Data.ByteString.Char8 as BS main=BS.getLine>>=putStr.f.map (read.BS.unpack).BS.words;f[x,a,y,b]|odd x,even y="No"|rem x y==0,x^a>=y^b="Yes"|0<1="No"