Input (grade 6): A grand duchy is a territory whose head of state is a monarch, either a Grand Duke or Grand Duchess.
Output (grade 4): A grand duchy is a country whose head of state is a Grand Duke or Grand Duchess.