문제
Farmer John's nemesis, Farmer Nhoj, has
To this end, Farmer John has brought out his infinite supply of gifts, and Nhoj's cows have queued up in front of him, with cow
Farmer John knows that some cows might receive multiple gifts; as he has an infinite supply, this does not worry him. But he is worried that some cows might become unhappy if they do not get any gifts.
Help Farmer John find the number of cows who never receive any gifts, no matter how many gifts are handed out.
Problem credits: Dhruv Rohatgi
입력
The first line contains a single integer,
The second line contains
출력
Please output the number of cows who cannot receive any gifts.
예제
3
1 2 0
1