#include using namespace std; using ll=long long; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int N; cin>>N; vector G(N,vector(0,0)); for(int i=0;i>A>>B; --A,--B; G[A].push_back(B); G[B].push_back(A); } vector ghost(N,0); int M; cin>>M; for(int i=0;i>t; ghost[t-1]=1; } vector cnt(N,0); for(int i=0;i