| IME Starters Try-outs 2018 |
|---|
| Finished |
IME students are going to their first military field training. They will be placed in certain areas, individually, but a student in a certain area may be able to see other areas, so, in order to avoid distractions, no student should be able to see any other.
Earlier, for field reconnaissance, soldiers were placed in all areas. During that, two IMPORTANT things were noticed:
IME instructors are asking you to help them to find out how many students at most can be placed at the same time. To do so, they will give you which areas can be seen from each area.
The first line contains two integers, $$$n$$$ and $$$m$$$ ($$$1 \leq n \leq 10^5$$$, $$$0 \leq m \leq min(10^5, n\times(n - 1)/2)$$$) — the number of areas and the number of relations.
The next $$$m$$$ lines contains the relations between the areas. Each line has two integers, $$$a_i$$$ and $$$a_j$$$ ($$$1 \leq a_i, a_j \leq n$$$), meaning that students in the areas $$$a_i$$$ and $$$a_j$$$ can see each other.
Output the number of students that can do the activity at the same time without seeing others.
5 4
1 2
1 3
2 4
2 5
3
| Name |
|---|


