Input: Head: people<sep>Tail: belong to groups
Answer: Yes