When the number of students is odd this makes a group of one instead of making a group of three.