#include using namespace std; #define ll long long int _mx,mx; const int N=2005; const int mod=998244353; int n; vector e[N]; int js[N]; inline void dfs(int x,int y,int d) { // if (mx==0) // cout<<"?"<mx) { mx=_mx; sz=calc(mx); bzxt=js[mx]; } } // cout<