Input: Head: PersonX builds bridges<sep>Tail: to check their quality
Output: Yes