Input: Head: PersonX shakes PersonY hand<sep>Tail: welcomed
Answer: Yes