#include #include using namespace std; using mint=atcoder::modint998244353; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int x,K; cin>>x>>K; vectorP(2*K,1); for(int i=0;imint { int depth=0,S=0; for(int i=0;i<2*K;i++) { S+=P[i]; if(S<0)return 0; depth=max(depth,S); } return depth; }; ans+=f()*p; }while(next_permutation(P.begin(),P.end())); cout<