Problem: There is a number x initially written on a blackboard. You repeat the following action a fixed amount of times: 

  1. take the number x currently written on a blackboard and erase it 
  2. select an integer uniformly at random from the range [0, x] inclusive, and write it on the blackboard 



Determine the distribution of final number given the distribution of initial number and the number of steps.

Input

The first line contains two integers, N (1 ≤ N ≤ 105) — the maximum number written on the blackboard — and M (0 ≤ M ≤ 1018) — the number of steps to perform.

The second line contains N + 1 integers P0, P1, ..., PN (0 ≤ Pi < 998244353), where Pi describes the probability that the starting number is i. We can express this probability as irreducible fraction P / Q, then <image>. It is guaranteed that the sum of all Pis equals 1 (modulo 998244353).

Output

Output a single line of N + 1 integers, where Ri is the probability that the final number after M steps is i. It can be proven that the probability may always be expressed as an irreducible fraction P / Q. You are asked to output <image>.

Examples

Input

2 1
0 0 1


Output

332748118 332748118 332748118


Input

2 2
0 0 1


Output

942786334 610038216 443664157


Input

9 350
3 31 314 3141 31415 314159 3141592 31415926 314159265 649178508


Output

822986014 12998613 84959018 728107923 939229297 935516344 27254497 413831286 583600448 442738326

Note

In the first case, we start with number 2. After one step, it will be 0, 1 or 2 with probability 1/3 each.

In the second case, the number will remain 2 with probability 1/9. With probability 1/9 it stays 2 in the first round and changes to 1 in the next, and with probability 1/6 changes to 1 in the first round and stays in the second. In all other cases the final integer is 0.

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
void file(string s) {
  freopen((s + ".in").c_str(), "r", stdin);
  freopen((s + ".out").c_str(), "w", stdout);
}
template <typename Tp>
void read(Tp &x) {
  int fh = 1;
  char c = getchar();
  x = 0;
  while (c > '9' || c < '0') {
    if (c == '-') {
      fh = -1;
    }
    c = getchar();
  }
  while (c >= '0' && c <= '9') {
    x = (x << 1) + (x << 3) + (c & 15);
    c = getchar();
  }
  x *= fh;
}
mt19937 rnd(time(0));
int ksm(int b, int p, int Mod = 998244353) {
  int ret = 1;
  while (p) {
    if (p & 1) ret = 1ll * ret * b % Mod;
    b = 1ll * b * b % Mod;
    p >>= 1;
  }
  return ret;
}
int frac[2000005], frinv[2000005];
void prepr(int N) {
  frac[0] = 1;
  for (int i = 1; i <= N; ++i) frac[i] = 1ll * frac[i - 1] * i % 998244353;
  frinv[N] = ksm(frac[N], 998244353 - 2);
  for (int i = N; i; --i) frinv[i - 1] = 1ll * frinv[i] * i % 998244353;
}
namespace Math {
struct CP {
  int x, y, w, Mod;
  CP operator*(CP b) const {
    return (CP){(int)((1ll * x * b.x + 1ll * y * b.y % Mod * w) % Mod),
                (int)((1ll * x * b.y + 1ll * y * b.x) % Mod), w, Mod};
  }
};
CP CPksm(CP b, int p) {
  CP ret = (CP){1, 0, b.w, b.Mod};
  while (p) {
    if (p & 1) ret = ret * b;
    b = b * b;
    p >>= 1;
  }
  return ret;
}
bool is_Sqrt(int x, int Mod = 998244353) {
  return ksm(x, (Mod - 1) / 2, Mod) == 1;
}
int Sqrt(int x, int Mod = 998244353) {
  x %= Mod;
  if (Mod == 2 || x == 0) return x;
  if (!is_Sqrt(x, Mod)) return -1;
  int a, w;
  while (1) {
    a = rnd() % Mod;
    w = (1ll * a * a + Mod - x) % Mod;
    if (!is_Sqrt(w, Mod)) break;
  }
  CP tmp = CPksm((CP){a, 1, w, Mod}, (Mod + 1) / 2);
  int ans1 = tmp.x, ans2 = 998244353 - tmp.x;
  return ans1 < ans2 ? ans1 : ans2;
}
}  // namespace Math
namespace Poly {
const int Gmod = 3;
int tr[1000005], Wn[1000005];
int LG[1000005], inv[1000005];
int mxN;
void prep(int nmax) {
  prepr(nmax);
  for (mxN = 1; mxN < nmax; mxN <<= 1)
    ;
  LG[0] = -1;
  for (int i = 2; i <= mxN; ++i) LG[i] = LG[i >> 1] + 1;
  inv[1] = 1;
  for (int i = 2; i <= mxN; ++i)
    inv[i] = 1ll * (998244353 - 998244353 / i) * inv[998244353 % i] % 998244353;
  for (int i = 1; i < mxN; ++i)
    tr[i] = ((tr[i >> 1] >> 1) | ((i & 1) ? (mxN >> 1) : 0));
  for (int len = 1; len < mxN; len <<= 1) {
    Wn[len] = 1;
    int wn = ksm(Gmod, (998244353 - 1) / (len << 1));
    for (int j = 1; j < len; ++j)
      Wn[len + j] = 1ll * Wn[len + j - 1] * wn % 998244353;
  }
}
unsigned long long tf[1000005];
void ntt(vector<int> &f, int N) {
  int tn = LG[mxN / N];
  for (int i = 0; i < N; ++i) tf[tr[i] >> tn] = f[i];
  for (int len = 1; len < N; len <<= 1) {
    for (int i = 0; i < N; i += (len << 1)) {
      for (int j = 0; j < len; ++j) {
        unsigned x = tf[i + j + len] * Wn[len + j] % 998244353;
        tf[i + j + len] = (tf[i + j] + 998244353 - x);
        tf[i + j] = (tf[i + j] + x);
      }
    }
  }
  for (int i = 0; i < N; ++i) f[i] = tf[i] % 998244353;
}
void dnt(vector<int> &f, int N) {
  reverse(f.begin() + 1, f.end());
  ntt(f, N);
  int invN = inv[N];
  for (int i = 0; i < N; ++i) f[i] = 1ll * f[i] * invN % 998244353;
}
vector<int> fix(vector<int> a, int n) {
  a.resize(n);
  return a;
}
int calcfx(vector<int> a, int x) {
  int ret = 0, nn = a.size();
  for (int i = 0, t = 1; i < nn; ++i, t = 1ll * t * x % 998244353) {
    ret = ret + 1ll * a[i] * t % 998244353;
    if (ret >= 998244353) ret -= 998244353;
  }
  return ret;
}
vector<int> operator+(vector<int> a, vector<int> b) {
  int nn = max(a.size(), b.size());
  a.resize(nn);
  for (int i = 0; i < nn; ++i) {
    a[i] = a[i] + b[i];
    if (a[i] >= 998244353) a[i] -= 998244353;
  }
  return a;
}
vector<int> operator-(vector<int> a, vector<int> b) {
  int nn = max(a.size(), b.size());
  a.resize(nn);
  for (int i = 0; i < nn; ++i) {
    a[i] = a[i] - b[i];
    if (a[i] < 0) a[i] += 998244353;
  }
  return a;
}
vector<int> operator*(vector<int> a, int x) {
  int nn = a.size();
  for (int i = 0; i < nn; ++i) a[i] = 1ll * a[i] * x % 998244353;
  return a;
}
vector<int> Der(vector<int> a) {
  int nn = a.size();
  for (int i = 0; i < nn - 1; ++i) a[i] = 1ll * a[i + 1] * (i + 1) % 998244353;
  a.pop_back();
  return a;
}
vector<int> Inte(vector<int> a) {
  int nn = a.size();
  a.push_back(0);
  for (int i = nn; i > 0; --i) a[i] = 1ll * a[i - 1] * inv[i] % 998244353;
  a[0] = 0;
  return a;
}
vector<int> operator*(vector<int> a, vector<int> b) {
  if (a.empty() || b.empty()) return vector<int>();
  int nn = a.size() + b.size() - 1, N = (1 << (LG[nn - 1] + 1));
  a.resize(N), b.resize(N);
  ntt(a, N);
  ntt(b, N);
  for (int i = 0; i < N; ++i) a[i] = 1ll * a[i] * b[i] % 998244353;
  dnt(a, N);
  return fix(a, nn);
}
vector<int> Muld(vector<int> a, vector<int> b) {
  if (a.empty() || b.empty()) return vector<int>();
  int nn = a.size(), N = (1 << (LG[nn + nn - 1 - 1] + 1));
  reverse(b.begin(), b.end());
  a.resize(N);
  b.resize(N);
  ntt(a, N);
  ntt(b, N);
  for (int i = 0; i < N; ++i) a[i] = 1ll * a[i] * b[i] % 998244353;
  dnt(a, N);
  for (int i = 0; i < nn; ++i) a[i] = a[i + nn - 1];
  return fix(a, nn);
}
vector<int> Shift(vector<int> a, int c) {
  if (a.empty()) return vector<int>();
  int nn = a.size();
  vector<int> p, q;
  p.resize(nn);
  q.resize(nn);
  for (int i = 0; i < nn; ++i) p[i] = 1ll * a[i] * frac[i] % 998244353;
  for (int i = 0, t = 1; i < nn; ++i, t = 1ll * t * c % 998244353) {
    q[i] = 1ll * t * frinv[i] % 998244353;
  }
  vector<int> ret = Muld(p, q);
  for (int i = 0; i < nn; ++i) ret[i] = 1ll * ret[i] * frinv[i] % 998244353;
  return ret;
}
void Poly_oup(vector<int> a) {
  int nn = a.size();
  for (int i = 0; i < nn; ++i) printf("%d%c", a[i], " \n"[i == nn - 1]);
}
}  // namespace Poly
int n;
long long m;
vector<int> f, g;
signed main() {
  read(n);
  read(m);
  m %= (998244353 - 1);
  ++n;
  Poly::prep((n + 1) << 1);
  f.resize(n);
  for (int i = 0; i < n; ++i) read(f[i]);
  g = Poly::Shift(f, 1);
  for (int i = 0; i < n; ++i)
    g[i] = 1ll * g[i] * ksm(Poly::inv[i + 1], m) % 998244353;
  f = Poly::Shift(g, 998244353 - 1);
  Poly::Poly_oup(f);
  return 0;
}