Input: Head: person<sep>Tail: beautiful day
Answer: Yes