Input: Head: PersonX becomes PersonY wife<sep>Tail: marries
Answer: Yes