Input (grade 10): Niue is 2,400 kilometres northeast of New Zealand in a triangle between Tonga, Samoa, and the Cook Islands.
Output (grade 12): The territory is located 2,400 kilometres north-east of New Zealand in a triangle between Tonga, Samoa, and the Cook Islands.