Try to make the numbers as fare as possible start with 4 in a group at first if a group has no people join that group if all of the groups have people join one with fewer people but you can still be in the same group as your friends have fun
for the music Digital World by MaxKoMusic | https://maxkomusic.com/ Music promoted by https://www.chosic.com/ Creative Commons Attribution-ShareAlike 3.0 Unported https://creativecommons.org/licenses/by-sa/3.0/deed.en_US for the code @McDanny0