Input: Head: PersonX holds in PersonY's hand<sep>Tail: Careful
Output: Yes