Input: Head: PersonX puts on PersonY's clothes<sep>Tail: happy.
Output: 


Answer: Yes