main=interact$f.map read.words;f[x, a, y, b]|odd x&&even y="No"|rem x y==0,x^a>=y^b="Yes"|0<1="No"