Input (grade 2): Saxe-Weimar () was a duchy in Thuringia, Germany.
Output (grade 2): The chief town and capital was Weimar.