long s,q;i,a[12];c(int*a,int*b){return*a-*b;}main(j){for(;~scanf("%d",a-j);q+=j--?a[~j]:0);qsort(a+1,~j,4,c);i=a[-j/2];q/=~j;for(q