How do resident halls separate females and males, or adults from youth groups?

When assigning youth groups to halls, we separate gender by floor or wing. In regards to adult and youth groups, we try our best to assign them to separate halls.