Input: Head: PersonX becomes PersonY wife<sep>Tail: Beautiful
Output: Yes