What is the version of the following sentence with correct punctuation?

On Saturday it will be cloudy but mainly dry for a while The afternoon will bring variable clouds with rain showers In the evening overcast but mainly dry weather will prevail
On Saturday it will be cloudy, but mainly dry for a while. The afternoon will bring variable clouds with rain showers. In the evening overcast, but mainly dry weather will prevail.