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>
namespace in {
char buf[1 << 21], *p1 = buf, *p2 = buf;
inline int getc() {
  return p1 == p2 && (p2 = (p1 = buf) + fread(buf, 1, 1 << 21, stdin), p1 == p2)
             ? EOF
             : *p1++;
}
template <typename T>
inline void read(T &t) {
  t = 0;
  int f = 0;
  char ch = getc();
  while (!isdigit(ch)) {
    if (ch == '-') f = 1;
    ch = getc();
  }
  while (isdigit(ch)) {
    t = t * 10 + ch - 48;
    ch = getc();
  }
  if (f) t = -t;
}
template <typename T, typename... Args>
inline void read(T &t, Args &...args) {
  read(t);
  read(args...);
}
}  // namespace in
namespace out {
char buffer[1 << 21];
int p1 = -1;
const int p2 = (1 << 21) - 1;
inline void flush() { fwrite(buffer, 1, p1 + 1, stdout), p1 = -1; }
inline void putc(const char &x) {
  if (p1 == p2) flush();
  buffer[++p1] = x;
}
template <typename T>
void write(T x) {
  static char buf[15];
  static int len = -1;
  if (x >= 0) {
    do {
      buf[++len] = x % 10 + 48, x /= 10;
    } while (x);
  } else {
    putc('-');
    do {
      buf[++len] = -(x % 10) + 48, x /= 10;
    } while (x);
  }
  while (len >= 0) putc(buf[len]), --len;
}
}  // namespace out
using namespace std;
template <const int mod>
struct modint {
  int x;
  modint<mod>(int o = 0) { x = o; }
  modint<mod> &operator=(int o) { return x = o, *this; }
  modint<mod> &operator+=(modint<mod> o) {
    return x = x + o.x >= mod ? x + o.x - mod : x + o.x, *this;
  }
  modint<mod> &operator-=(modint<mod> o) {
    return x = x - o.x < 0 ? x - o.x + mod : x - o.x, *this;
  }
  modint<mod> &operator*=(modint<mod> o) {
    return x = 1ll * x * o.x % mod, *this;
  }
  modint<mod> &operator^=(int b) {
    modint<mod> a = *this, c = 1;
    for (; b; b >>= 1, a *= a)
      if (b & 1) c *= a;
    return x = c.x, *this;
  }
  modint<mod> &operator/=(modint<mod> o) { return *this *= o ^= mod - 2; }
  modint<mod> &operator+=(int o) {
    return x = x + o >= mod ? x + o - mod : x + o, *this;
  }
  modint<mod> &operator-=(int o) {
    return x = x - o < 0 ? x - o + mod : x - o, *this;
  }
  modint<mod> &operator*=(int o) { return x = 1ll * x * o % mod, *this; }
  modint<mod> &operator/=(int o) {
    return *this *= ((modint<mod>(o)) ^= mod - 2);
  }
  template <class I>
  friend modint<mod> operator+(modint<mod> a, I b) {
    return a += b;
  }
  template <class I>
  friend modint<mod> operator-(modint<mod> a, I b) {
    return a -= b;
  }
  template <class I>
  friend modint<mod> operator*(modint<mod> a, I b) {
    return a *= b;
  }
  template <class I>
  friend modint<mod> operator/(modint<mod> a, I b) {
    return a /= b;
  }
  friend modint<mod> operator^(modint<mod> a, int b) { return a ^= b; }
  friend bool operator==(modint<mod> a, int b) { return a.x == b; }
  friend bool operator!=(modint<mod> a, int b) { return a.x != b; }
  bool operator!() { return !x; }
  modint<mod> operator-() { return x ? mod - x : 0; }
  modint<mod> &operator++(int) { return *this += 1; }
};
const int N = 4e6 + 5;
const int mod = 998244353;
const modint<mod> GG = 3, Ginv = modint<mod>(1) / 3, I = 86583718;
struct poly {
  vector<modint<mod>> a;
  modint<mod> &operator[](int i) { return a[i]; }
  int size() { return a.size(); }
  void resize(int n) { a.resize(n); }
  void reverse() { std::reverse(a.begin(), a.end()); }
};
int rev[N];
inline poly one() {
  poly a;
  a.a.push_back(1);
  return a;
}
inline int ext(int n) {
  int k = 0;
  while ((1 << k) < n) k++;
  return k;
}
inline void init(int k) {
  int n = 1 << k;
  for (int i = 0; i < n; i++)
    rev[i] = (rev[i >> 1] >> 1) | ((i & 1) << (k - 1));
}
inline void ntt(poly &a, int k, int typ) {
  int n = 1 << k;
  for (int i = 0; i < n; i++)
    if (i < rev[i]) swap(a[i], a[rev[i]]);
  for (int mid = 1; mid < n; mid <<= 1) {
    modint<mod> wn = (typ > 0 ? GG : Ginv) ^ ((mod - 1) / (mid << 1));
    for (int r = mid << 1, j = 0; j < n; j += r) {
      modint<mod> w = 1;
      for (int k = 0; k < mid; k++, w = w * wn) {
        modint<mod> x = a[j + k], y = w * a[j + k + mid];
        a[j + k] = x + y, a[j + k + mid] = x - y;
      }
    }
  }
  if (typ < 0) {
    modint<mod> inv = modint<mod>(1) / n;
    for (int i = 0; i < n; i++) a[i] *= inv;
  }
}
poly operator+(poly a, poly b) {
  int n = max(a.size(), b.size());
  a.resize(n), b.resize(n);
  for (int i = 0; i < n; i++) a[i] += b[i];
  return a;
}
poly operator-(poly a, poly b) {
  int n = max(a.size(), b.size());
  a.resize(n), b.resize(n);
  for (int i = 0; i < n; i++) a[i] -= b[i];
  return a;
}
inline poly operator*(poly a, poly b) {
  int n = a.size() + b.size() - 1, k = ext(n);
  a.resize(1 << k), b.resize(1 << k), init(k);
  ntt(a, k, 1);
  ntt(b, k, 1);
  for (int i = 0; i < (1 << k); i++) a[i] *= b[i];
  ntt(a, k, -1), a.resize(n);
  return a;
}
inline poly operator*(poly a, modint<mod> b) {
  for (int i = 0; i < a.size(); i++) a[i] *= b;
  return a;
}
inline poly operator/(poly a, modint<mod> b) {
  for (int i = 0; i < a.size(); i++) a[i] /= b;
  return a;
}
inline poly operator-(poly a) {
  for (int i = 0; i < a.size(); i++) a[i] = -a[i];
  return a;
}
int n;
modint<mod - 1> m;
modint<mod> fac[N], ifac[N];
poly F, G;
signed main() {
  in::read(n);
  in::read(m);
  fac[0] = 1;
  for (int i = 1; i <= n; i++) fac[i] = fac[i - 1] * i;
  ifac[n] = modint<mod>(1) / fac[n];
  for (int i = n; i; i--) ifac[i - 1] = ifac[i] * i;
  F.resize(n + 1);
  G.resize(n + 1);
  for (int i = 0; i <= n; i++) in::read(F[i]);
  for (int i = 0; i <= n; i++) G[n - i] = F[i] * fac[i];
  for (int i = 0; i <= n; i++) F[i] = ifac[i];
  G = F * G;
  G.resize(n + 1);
  for (int i = 0; i <= n; i++) F[n - i] = G[i] * ifac[n - i];
  for (int i = 0; i <= n; i++) F[i] = F[i] / (modint<mod>(i + 1) ^ m.x);
  for (int i = 0; i <= n; i++)
    if (i & 1)
      G[n - i] = -F[i] * fac[i];
    else
      G[n - i] = F[i] * fac[i];
  for (int i = 0; i <= n; i++) F[i] = ifac[i];
  G = G * F;
  for (int i = 0; i <= n; i++) F[n - i] = G[i] * ifac[n - i];
  for (int i = 0; i <= n; i++)
    out::write((i & 1 ? (-F[i]) : F[i]).x), out::putc(' ');
  out::flush();
  return 0;
}