Input: Head: PersonX answers PersonY's letter<sep>Tail: to invite PersonY
Output: Yes