#include using namespace std; #define REP(i,m,n) for(int i=(m);i<(n);i++) #define rep(i,n) REP(i,0,n) #define pb push_back #define all(a) a.begin(),a.end() #define rall(c) (c).rbegin(),(c).rend() #define mp make_pair #define endl '\n' #define vec vector #define mat vector > #define fi first #define se second typedef int ll; typedef unsigned long long ull; typedef pair pll; typedef long double ld; typedef complex comp; const ll inf=1e9+7; const ll mod=998244353; const int MAX=200010; signed main(){ ll n,k;cin>>n>>k; vectora(n); rep(i,n)cin>>a[i]; if(k>=11){ cout<<0< > >dp(n+1,vector >(k+1,vector(1024))); dp[0][0][0]=1; rep(i,n){ rep(j,k+1){ rep(l,1024){ dp[i+1][j][l]=(dp[i+1][j][l]+dp[i][j][l])%mod; if(j