Question 4 : Minimum Unique Elements

There will be N given and an array of positive integers numbers will be given.
N will denote number of elements you can delete from an given Array.
Find the least number of unique elements after deleting any N numbers of elements from the given array.

Constraints

1 <= N <= 100
1 <= Size of Array <= 1000

Input Format :
First line will be given value of N.
Next Line will be given array of positive integers separated with commas( , ).

Output Format : Print the least number of unique elements after deleting N numbers of elements from the given array.

Test Case 1

Input :
2
3,2,1,3,4,4

Output : 2

Explanation 1

After deleting N elements from the array.
In above 1,2 will be deleted.
So 3,3,4,4 will be remaining.
So 2 unique elements are in the array will be left i.e 3 and 4.
hence output will be 2.