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