#include //#include using namespace std; using ll = long long; const ll MOD = 998244353; ll modpow(ll x,ll y){ ll res = 1; while(y){ if(y%2)(res*=x)%=MOD; (x*=x)%=MOD; y/=2; } return res; } int main() { ll n,k; cin >> n >> k; vector a(n); for(ll i=0;i> a[i]; } ll sum = 0; for(auto &i:a)sum += i; (sum*=modpow(2,k))%=MOD; cout<