Code copying is a major problem on many online programming judges. There are
There are always some "sources" from which coders copy from. A "source" is defined as a coder who does not copy from anyone. Your task is to find out how many "sources" there are.
Input Specification
The first line will contain the integer
The second line will contain
Output Specification
Output the number of "sources".
Constraints
Subtask 1 [20%]
Subtask 2 [80%]
No additional constraints.
Sample Input 1
Copy
5
0 1 1 3 2
Sample Output 1
Copy
2
Sample Input 2
Copy
9
0 1 1 3 4 5 6 4 6
Sample Output 2
Copy
4
Comments