Input: Head: PersonX builds PersonY church<sep>Tail: to have money
Answer: Yes