LYH’s teacher want some boys to help him with a project.Beaause the project is rather complex,
so the teacher want more boys to help him,the more,the better.Of course,there are certain
requirements:<o:p></o:p>
The teacher select a big room to hold the boys.The boy who are not been chosen has to leave
the room immediately.There are 1000 boys in the room numbered from 1 to 1000 at the beginning.
After the teacher’s selection,any two of them who are still in the room should be friends(
direct or indirect),or there is only one boy left.Given all the direct friend-pairs,you should
output how many boys at most will help the teacher.<o:p></o:p>