Input: Head: PersonX eats PersonY's candy<sep>Tail: giving
Output: 


Answer: Yes