Can I say,
(a) The story-telling competition is divided into / by two groups.
(b) The story-telling competition is divided into / by group 1 and group 2.