#yuki1714 input() ni,nj=map(int,input().split()) zi,zj=map(int,input().split()) if (abs(ni+nj-zi-zj))%2==1: print('Yes') else: print('No')