Input: Head: PersonX gives PersonY my number<sep>Tail: to part ways
Output: Yes