Input: Head: PersonX flies overhead<sep>Tail: to stay safe
Output: Yes