Input: Head: PersonX builds PersonY church<sep>Tail: demented
Output: Yes