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