문제
It's a hot summer day out on the farm, and Farmer John is serving lemonade to his
Farmer John wants to prepare some amount of lemonade in advance, but he does not want to be wasteful. The number of cows who join the line might depend on the order in which they arrive. Help him find the minimum possible number of cows who join the line.
Problem credits: Dhruv Rohatgi
입력
The first line contains
출력
Print the minimum possible number of cows who might join the line, among all possible orders in which the cows might arrive.
예제
5
7 1 400 2 2
3
In this setting, only three cows might end up in line (and this is the smallest possible). Suppose the cows with