Problem G
H-Index

In research, it is tough to determine how good of a
researcher you are. One way that people determine how good you
are is by looking at your
Each paper has a certain number of citations. Your
Input
The first line of input contains a single integer
The next
Output
Display your
Sample Input 1 | Sample Output 1 |
---|---|
5 7 1 2 1 5 |
2 |
Sample Input 2 | Sample Output 2 |
---|---|
5 7 1 3 1 5 |
3 |
Sample Input 3 | Sample Output 3 |
---|---|
3 4 2 3 |
2 |