1 zombie but 5+ humans one person will become a zombie with the other person?
And if 0 humans, 2+ zombies one person will become a human?
What I posted will get you there. Try learning it. Besides there are plenty of threads like this use the search function and type Team Balancer or something similar.