Input (grade 8): Queen Elizabeth II is the head of state and is titled Queen of New Zealand under the Royal Titles Act 1974.
Output (grade 3): The head of state is Queen Elizabeth II.