You are given a forest$$$^{\text{∗}}$$$. Output the chromatic number$$$^{\text{†}}$$$ of the forest's complement$$$^{\text{‡}}$$$.
$$$^{\text{∗}}$$$A forest is an acyclic graph
$$$^{\text{†}}$$$The chromatic number of a graph is the smallest number of colors needed to color the vertices of the graph, such that no two vertices connected by an edge get the same color
$$$^{\text{‡}}$$$The complement of a graph is a graph on the same vertex set, where a pair of vertices is connected by an edge iff there was no edge between these vertices in the original graph
The first line contains two integers $$$n, m$$$ ($$$1 \leq n \leq 2 \cdot 10^{5}$$$, $$$0 \leq m \leq n-1$$$).
The following m lines contain integers $$$u_i$$$, $$$v_i$$$ ($$$1 \leq u_i,v_i \leq n$$$), the edges of the graph. It is guaranteed that the given edges form a forest.
The chromatic number of the complement.
5 42 34 22 12 5
4
5 45 33 12 35 4
3
5 31 44 53 1
3
For the first example, vertices $$$1$$$ and $$$2$$$ can get the same color while all other vertices get distinct colors. It can be shown that no coloring in fewer colors exists.
For the second example, vertices $$$1$$$ and $$$3$$$ can get the same color, $$$2$$$ gets a different color, and $$$4$$$ and $$$5$$$ get a common color distinct from the others. It can be shown that no coloring in fewer colors exists.
| Name |
|---|


