How to make custom team sizes for a prop hunt map?

The teams should be randomized too. How to do this?