Each baby dinosaur made 151515 paintings and each adult dinosaur made 777 paintings. The entire herd made 208208208 paintings in total, and there were 333 times as many baby dinosaurs as adult dinosaurs.
How many baby dinosaurs and adult dinosaurs were there?