Input: Head: PersonX grants PersonY title<sep>Tail: giving
Output: Yes