a,b,c,d=map(int,input().split())
D=(a-c)*(a-c)-4*2*(b-d)

if D<0:
    print("No")
elif D==0:
    print("Yes")
else:
    print((a+c)/2,(b+d)/2)