import sys

data=sys.stdin.readline()
data=data.split(" ")
for i in range(len(data)):
    data[i]=int(data[i])

A=(data[0]+data[2])/2
B=A-data[0]
C=B-data[1]
if int(A)+int(B)==data[2] and int(B)+int(C)==data[3]:
    print(int(A),int(B),int(C))
else:
    print("No")