Add spaces between the words in the following text: Thebirdswereanimportantgroupofdinosaursgaverisetobeforetheywentunder.
The birds were an important group of dinosaurs gave rise to before they went under.