Input: Head: PersonX arrives home<sep>Tail: safe
Output: Yes