l=list(map(int,input().split()));print("YNeos"[abs(l[1])!=abs(l[3])::2])