import sys input = sys.stdin.readline N=int(input()) P=[list(map(float,input().split())) for i in range(N)] P2=[list(map(float,input().split())) for i in range(N)] sx=0 sy=0 sx2=0 sy2=0 for x,y in P: sx+=x sy+=y for x,y in P2: sx2+=x sy2+=y mx=sx/N my=sy/N mx2=sx2/N my2=sy2/N MAX1=0 MAX2=0 for x,y in P: MAX1=max(MAX1,(mx-x)*(mx-x)+(my-y)*(my-y)) for x,y in P2: MAX2=max(MAX2,(mx2-x)*(mx2-x)+(my2-y)*(my2-y)) print((MAX2**(1/2))/(MAX1**(1/2)))