Input: Head: PersonX chases the rabbit<sep>Tail: catch the rabbit
Output: Yes