#include #include #include #include #include #include using namespace std; int a[105]; struct thank{ int v,id; }temp; vector v[105]; struct thanks{ int a,b; }p[105]; int flag[105],vans,vt; void dfs(int x,int fa,int t1,int t2){ flag[x]=1; vans++; int e=v[x].size(); for(int i=0;i