Sanggeun wants to install a surveillance camera in a room.
The room is a convex polygon in the plane. The camera can only go on a wall, and only at the midpoint of an edge.
The camera's field of view is bounded by two rays that leave the camera at 45 degrees to its wall, so the camera covers the 90 degree wedge that opens into the room. The room is convex, so no wall blocks the view.
Write a program that computes how much of the room the camera covers.
The first line contains the number of test cases, which is at most 100.
The first line of each test case contains the number of vertices of the room, n (3≤n≤1000). Each of the next n lines contains two integers x and y, the coordinates of a vertex (−10000≤x,y≤10000).
The vertices are given in counter-clockwise order, and every interior angle is greater than 0 degrees and less than 180 degrees. The camera sits at the midpoint of the first two vertices.
For each test case, print on one line the area the camera covers, taking the area of the whole room as 1.
Write the value as an irreducible fraction. Print the numerator and the denominator separated by a slash, in the form p/q, with q>0 and the greatest common divisor of p and q equal to 1. The ratio is always greater than 0 and less than 1.