You are given a connected undirected unweighted graph. The distance d(u, v) between two vertices and is defined as the number of edges in the shortest path between them. Find the sum of d(u, v) over all unordered pairs .
The first line contains two integers and (2 \le n \le 10^5, n - 1 \le m \le n + 42) — the number of vertices and the number of edges in the graph respectively. The vertices are numbered from to .
Each of the following lines contains two integers x_i and y_i (1 \le x_i, y_i \le n, x_i \ne y_i) - the endpoints of the -th edge.
There is at most one edge between every pair of vertices.
Output a single integer — the sum of the distances between all unordered pairs of vertices in the graph.
Example 1
Example 2
In the first example the distance between four pairs of vertices connected by an edge is equal to and d(1, 4) = d(2, 4) = 2.