Input: Head: person<sep>Tail: hugged
Answer: Yes