a,b,c,d=map(int,input().split()) dis=(a-c)**2-8*(b-d) if dis==0: print('Yes') elif dis<0: print('No') else: x=(a+c)/2 y=(b+d)/2 print(x,y)