Input: Head: PersonX changes PersonY clothes<sep>Tail: Y to get undressed
Output: Yes