Input: Head: PersonX grants PersonY title<sep>Tail: give a gift
Output: Yes