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