Statement
There are seats in one subway car, and initially every seat is empty.
Then passengers board one by one. Each passenger chooses one seat number they want.
If the chosen seat is empty, the passenger sits there. If another passenger is already sitting there, the passenger must remain standing.
Find the number of passengers standing after everyone has boarded.
Input
The input is given from Standard Input in the following format:
Each case is given in the following format:
is the seat number chosen by the -th passenger.
Output
For each test case, print the number of passengers standing after everyone has boarded, on one line.
Constraints
- .
- .
- .
- ().
- The sum of over all test cases does not exceed .
Subtasks
Samples
In the first test case, the passengers who request seats and for the second time cannot sit down. Therefore, a total of passengers must remain standing.