There is a kingdom with
Input Format:
The first input line contains an integer
Then there are
Output Format:
Print one integer, the maximum number of sets that the kingdom can be divided into.
Constraints:
5 1 2 1 3 3 4 3 5
2
One possible division can be :- (1,2) & (3,4)
Please login to use the editor
You need to be logged in to access the code editor
Login to unlock the editorial
Please login to use the editor
You need to be logged in to access the code editor