a,b,c,d = map(int, input().split()) if b > d: print('No') elif b == d: print('Yes') else: print((a+c)/2, (b+d)/2)