Add spaces: Thelargestprovincialtowns,HelsingørandÅlborghadin1672only4.000inhabitants.
The largest provincial towns, Helsingør and Ålborg had in 1672 only 4.000 inhabitants.