Input: Head: print<sep>Tail: hang on the wall
Answer: Yes