Division of Cases into Teams