lst=list(map(int,input().split(\' \'))) def median(x): x=sorted(x) mid=len(x)//2 if(len(x)%2==0): return (x[mid-1]+x[mid])/2 return x[mi