Input: Head: PersonX becomes PersonY's wife<sep>Tail: A family
Output: Yes