Input: Head: cottage<sep>Tail: having parties in
Answer: Yes