//Author:kevinZ99#include <bits/stdc++.h>#define up(a,b,c) for(int (a)=(b);(a)<=(c);(a)=-~(a))
#define dn(a,b,c) for(int (a)=(b);(a)>=(c);(a)=~-(a))
#define fst first
#define sed second
#define pref static inline __attribute__((hot,always_inline,flatten))
#define noe noexcept#define gc() p1==p2&&(p2=(p1=buf)+fread(buf,1,1<<12,stdin),p1==p2)?EOF:*p1++using namespace std; using hint = __int128;using pii = pair< int , int > ;
using us = unsigned short ;using ldb = long double ;using ll = long long;
using ull= unsigned long long;using ui=unsigned int;using pll=pair<ll,ll>;
using pil= pair<int,ll> ;using vpil = vector<pil>;using vl = vector<ll>;
using pli= pair<ll,int>;using vpli = vector<pli>;using vi =vector<int>;
using vpi= vector< pii > ;using vpl = vector<pll> ; using db = double ;
namespace mystl{
char buf[1<<20], *p1=buf, *p2=buf, sr[1<<23], z[23], nc;int C=-1 ,Z=0;
template <typename T>pref void read ( T & x )noe { bool flag = false ;
while( nc = gc() ,(nc<48||nc>57) && nc!=-1)flag|=(nc==45);x=nc-48;
while(nc=gc(),47<nc&&nc<58)x=(x<<3)+(x<<1)+(nc^48); if(flag)x=-x;}
template < typename T , typename ... Args_Arrays_Typename_KevinZ99 >
void read(T&x,Args_Arrays_Typename_KevinZ99&...a){read(x);read(a...);}
pref void ot( )noe { fwrite( sr , 1 , C + 1, stdout ) ; C = - 1 ; }
pref void flush( )noe{ if ( C > 1<<22 ) ot() ; } template <typename T>
pref void write(T x,char t)noe{ int y = 0 ; if ( x < 0 ) y = 1, x = -x;
while( z [ ++ Z ] = x % 10 + 48 , x /= 10) ; if( y ) z[ ++Z ]='-';
while( sr[ ++ C ] = z[ Z ] , -- Z ) ; sr [ ++C ] = t ; flush() ; }
pref void write(char x)noe{sr[C=-~C]=x;}pref void write(string s){for(
char t:s)write(t);}pref ll qpow(ll a , ll b,ll p)noe{if(a==0)return 0;
ll c=1ll; while(b) { if(b & 1) c=a*c%p; a=a*a%p; b>>=1; } return c ; }
pref ll lcm ( ll x , ll y )noe{return x / std :: __gcd( x , y ) * y ;}
};
using namespace mystl;
namespace my{
constexpr int P=static_cast<int>(998244353);
pref void madd(int & x , int y)noe { x = ( x + y >= P )?(x+y-P):(x+y);}
pref int fmadd(int x , int y)noe { return ( x + y >=P )?(x+y-P):(x+y);}
pref void msub(int & x , int y)noe { x = ( x < y ) ? (x-y+P) : (x-y); }
pref int fmsub(int x , int y)noe { return ( x < y ) ? (x-y+P) : (x-y);}
pref void mmul ( int & x , int y )noe{ x = (int)( 1ll * x * y % P ) ; }
pref int fmmul ( int x,int y )noe { return (int)( 1ll * x * y % P ) ; }
template<typename T>pref T Min(T x,T y)noe{return (x<y)?(x):(y);}
template<typename T>pref T Max(T x,T y)noe{return (x>y)?(x):(y);}
template<typename T>pref T Abs(T x) noe {return (x<0)?(-x):(x);}
constexpr int N=static_cast<int>(0),inf=static_cast<int>(1e9);
pref void SOLVE()noe{
}
}
int main(){
// freopen("","r",stdin);// freopen("","w",stdout);ios::sync_with_stdio(false);cin.tie(nullptr);cout.tie(nullptr);
int _=1;
while(_--)my::SOLVE();return 0;
}
/**/