Input: Head: PersonX builds PersonY church<sep>Tail: to create a nice building
Output: Yes