k=n/2