Given a tree with n vertices, for each node i=1,2,…,n, find an integer point p_i=(x_i,y_i), and then, for each edge (u,v), connect points p_u and p_v with a line segment, so that the following conditions hold:
There are multiple test cases. The first line of input contains an integer T (1≤T≤103), the number of test cases. For each test case:
The first line contains an integer n (1≤n≤103), the number of vertices of the tree.
Each of the following n−1 lines contains two integers u and v (1≤u,v≤n, u=v), denoting an edge connecting u and v.
Note that there are no constraints related to the sum of n.
For each test case:
If there is no answer, output the word "NO" on the only line.
Otherwise, output "YES" on the first line, and two integers x_i and y_i (0≤∣x_i∣,∣y_i∣≤n) in the i-th of the following n lines.
After that, output another line with three integers a, b, c (0≤∣a∣, ∣b∣, ∣c∣≤n), denoting that the shapes are symmetric about the ax+by+c=0.
If there are multiple answers, output any one of them.