Input: Head: person<sep>Tail: beautiful wife
Answer: Yes