l=list(map(int,open(0).read().split()[1:]));*z,=list(zip(l,l));print((sum(((a-x)**2+(b-y)**2)**.5for a,b in z for x,y in z)/len(z)))
n,*z=[list(map(int,t.split()))for t in open(0)];print((sum(((a-x)**2+(b-y)**2)**.5for a,b in z for x,y in z)/n[0]))
l = list(map(int, open(0).read().split()[1:]))
(*z,) = list(zip(l, l))
print((sum(((a - x) ** 2 + (b - y) ** 2) ** 0.5 for a, b in z for x, y in z) / len(z)))

n, *z = [list(map(int, t.split())) for t in open(0)]
print((sum(((a - x) ** 2 + (b - y) ** 2) ** 0.5 for a, b in z for x, y in z) / n[0]))

-l = list(map(int, open(0).read().split()[1:])) -(*z,) = list(zip(l, l)) -print((sum(((a - x) ** 2 + (b - y) ** 2) ** 0.5 for a, b in z for x, y in z) / len(z))) +n, *z = [list(map(int, t.split())) for t in open(0)] +print((sum(((a - x) ** 2 + (b - y) ** 2) ** 0.5 for a, b in z for x, y in z) / n[0]))