F ive of them were foolish (thoughtless, without forethought) and five were wise (sensible, intelligent, and prudent).
Cinco de ellas eran prudentes y cinco insensatas.