#include #include #include using namespace std; int main() { int n; cin >> n; vector v(n); for (int i=0; i> t; v[t-1]++; } cout << count(v.begin(), v.end(), 1) << endl; return 0; }