Input: Head: PersonX buys an apple<sep>Tail: to give it to their teacher
Output: Yes