Input: Head: PersonX decides to visit PersonY<sep>Tail: brave
Output: Yes