#include using namespace std; #define int long long #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 long long 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(1024); rep(i,n){ ll b;cin>>b; a[b]++; } n=1024; if(k>=11){ cout<<0< >dp(k+1,vector(1024)); vector >dp1(k+1,vector(1024)); dp[0][0]=1; rep(i,n){ rep(j,k+1){ rep(l,1024){ dp1[j][l]=(dp1[j][l]+dp[j][l])%mod; if(j