#include #include using namespace std; #define endl "\n" #define i64 long long const int M=2e6+10; const int N=1e5+10; const int mod=998244353; int cnt[N]; int fac[M]; int factor(int x){ if(cnt[x]!=0) return cnt[x]; int res=0; int t=x; for(int i=2;1ll*i*i<=x;i++){ if(x%i==0){ while(x%i==0){ x/=i; res++; } } } if(x!=1) res++; //cout<>=1; } return res; } int C(int m ,int n){ if(m>n) return 0; return 1ll*fac[n]*qpow(fac[n-m],mod-2)%mod*qpow(fac[m],mod-2)%mod; } void init(){ fac[1]=fac[0]=1; for(int i=2;i>a>>b; //x=1ll*x*a%mod; //cout<>t; init(); while(t--) solved(); }