Input: Head: tie<sep>Tail: put on
Answer: Yes