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,a>=b="Yes"|0<1="No"