#include #include #include using namespace std; using namespace atcoder; using mint = modint998244353; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf 1000000003 int main() { int N,K; cin>>N>>K; vector dp(N+1,0); dp[N] = 1; rep(_,K){ vector ndp(N+1,0); ndp[N] = dp[N]; mint sum = 0; for(int j=N-1;j>=0;j--){ sum += dp[j+1]; ndp[j] = sum / (N-j); } swap(dp,ndp); } cout<