#include using namespace std; #define int long long #define pb emplace_back #define sz(v) (int)(v.size()) #define all(v) (v.begin(),v.end()) int arr[1000005]; signed main(){ ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); // freopen("input.txt","r",stdin); // freopen("output.txt","w",stdout); int n; cin >> n; vector v(n); for(int i = 0;i> v[i]; arr[v[i]]++; } int ans = 0; for(int i = 0;i