A group of friends on a hike split up into smaller groups. When they formed groups of three, one person was left out. When they formed groups of four, two people were left out. When they formed groups of six, four people were left out. If the group contains at least a dozen people, what is the smallest possible number of people in the group?