ax = float(input("Digite a coordenada X do ponto A"))
ay = float(input("Digite a coordenada Y do ponto A"))
bx = float(input("Digite a coordenada X do ponto B"))
by = float(input("Digite a coordenada Y do ponto B"))

xm = (bx+ax)/2
ym = (by+ay)/2

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