Input: Head: person<sep>Tail: move
Answer: Yes