Input: Head: PersonX marries PersonY daughter<sep>Tail: happy and enjoyment
Output: 


Answer: Yes