You are given the cartesian coordinates of a set of points in a plane. When traversed sequentially, these points form a Polygon, , which is not self-intersecting in nature. Can you compute the perimeter of polygon ?
The first line contains an integer, , denoting the number of points.
The subsequent lines each contain space-separated integers denoting the respective and coordinates of a point.
No points are coincident, and polygon is obtained by traversing the points in a clockwise direction.
For each test case, print the perimeter of (correct to a scale of one decimal place).
Note: Do not add any leading/trailing spaces or units.
The given polygon is a square, and each of its sides are unit in length. , so we print on a new line.