Input: Head: PersonX shakes PersonY 's hand<sep>Tail: on similar grounds
Answer: Yes