Rain kills 39 across the country