Input: What year did the country that contained mainly German-speaking territories adopt a new calendar ?
Output: 1582