HumptyDumptytookthebook,andlookedatitcarefully.

Please segment the words.
Humpty Dumpty took the book, and looked at it carefully.