Input: Head: PersonX rubs PersonY's hand<sep>Tail: good
Answer: Yes