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