#include #include #include #include using namespace std; using namespace atcoder; using ll=long long; #define rep(i,n) for(int i=0;i=0;i--) #define all(v) v.begin(),v.end() #define rall(v) v.rbegin(),v.rend() template bool chmax(T &a, T b){if (a < b){a = b;return true;} else return false;} template bool chmin(T &a, T b){if (a > b){a = b;return true;} else return false;} const ll MOD=998244353; const int MAX=5e5+10; vectorfac(MAX),finv(MAX),inv(MAX); void set_fac(){ fac[0]=fac[1]=1; finv[0]=finv[1]=1; inv[1]=1; for (int i=2;i>h>>w; vectorA(h+1),B(w+1); rep(i,h+1){ if(2*i-h>=0)A[i]=finv[h-i]*finv[2*i-h]%MOD; } rep(i,w+1){ if(2*i-w>=0)B[i]=finv[w-i]*finv[2*i-w]%MOD; } vectorC=convolution(A,B); ll ans=0; rep(i,h+w+1){ ans+=fac[i]*C[i]%MOD; ans%=MOD; } cout<