The first line contains one integer n (2≤n≤2⋅105), the number of vertices in the tree.
The i-th of the next n−1 lines contains integers a_i and b_i (1≤a_i,b_i≤n, a_i=b_i), the numbers of vertices connected by edge i.
It is guaranteed that the given graph is a tree.