Input: Head: PersonX colors PersonX's hair<sep>Tail: to wash the color out of PersonY's hair
Output: Yes