middle position will always beneficial for all group members but it will be sorted which we have already done
int size = vertical . size ( ) / 2 ; int x = vertical [ size ] ; int y = horizontal [ size ] ;