Input: Head: PersonX passes along the street<sep>Tail: good for having pass one more street.
Output: 


Answer: Yes