Given an undirected graph. Density of a graph is |E||V|. Your task is to choose non-empty set of vertices V such that subgraph induced on V has maximal density and print this density. But if maximal density is strictly greater than 1, just print ">1".
The first line of input contains two integers n and m - number of edges and vertices in the graph, respectively (1≤n≤105, 0≤m≤2⋅105).
Then m lines with edge descriptions follows. Each line contains two integers u, v - vertices incident to this edge (1≤u,v≤n, u≠v).
If maximal density of a subgraph is not bigger than 1, then print it as irreducible fraction. Otherwise, print ">1" (without quotes).
n≤17, m≤50 - 15 points.
n≤17, m≤2⋅105 - 10 points.
n≤70, m≤200 - 20 points.
n≤70, m≤2⋅105 - 5 points.
n≤105, m≤2⋅105 - 50 points.
The best option is to choose vertices 2, 3 and 5.