Input: Head: PersonX flies overhead<sep>Tail: traveling
Output: Yes