#include using namespace std; #define NUM 11 int main(void){ int N; cin >> N; int A, cnt = 0; vector v; for(int i=0; i> A; v.push_back(A); } sort(v.begin(), v.end()); for(int i=1; i<=v[N-1]; i++){ if(count(v.begin(), v.end(), i) == 1) cnt++; } cout << cnt << endl; return 0; }