Input: Head: PersonX gives PersonY some pills<sep>Tail: to give water to person y
Output: Yes