Input: Head: PersonX reaches PersonY's house<sep>Tail: good
Output: 


Answer: Yes