#include using namespace std; typedef long long ll; signed main(){ ios::sync_with_stdio(false); cin.tie(0); int n; cin>>n; int cnt[n]={}; for(int i=0;i>a>>b; a--,b--; cnt[a]++,cnt[b]++; } int ans=0; for(int i=0;i