Input: Head: people<sep>Tail: thanked
Answer: Yes