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