xa = float(input("digite Xa: "))
ya = float(input("digite Ya: "))
xb = float(input("digite Xb: "))
yb = float(input("digite Yb: "))

xm = (xb + xa)/2
ym = (yb + ya)/2

print(round(xm, 1))
print(round(ym, 1))