Input: Head: hat<sep>Tail: tip to lady
Answer: Yes