Input: Head: PersonX builds PersonY church<sep>Tail: to believe in PersonY
Output: Yes