the country that borders germany lost territory to which country after wars that began in the 17th century ?
sweden