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;
#pragma comment(linker, "/STACK:2000000")
long long fact[100005], ofact[100005], p = 998244353, root, sz = 262144, obroot,
                                       logs = 18, obrt[100005];
vector<long long> rev_pow, orev_pow, pow1, opow, revmas;
long long bp(long long a, long long b) {
  {
    if (b == 0) {
      return 1;
    } else if (b % 2 == 0) {
      long long aq = bp(a, b / 2);
      return (aq * aq) % p;
    } else {
      long long aq = bp(a, b - 1);
      return (aq * a) % p;
    }
  }
}
long long obr(long long x) { return bp(x, p - 2); }
void mlt1(vector<long long> &v1, vector<long long> &v2, vector<long long> &v3) {
  for (int j = 0; j < sz; j++) {
    v3[j] = v1[j] * v2[j];
    v3[j] %= p;
  }
}
long long rev(long long j) {
  long long y = 0, cur = j;
  for (int h = 0; h < logs; h++) {
    long long x = cur % 2;
    y += (x << logs - 1 - h);
    cur /= 2;
  }
  return y;
}
void b_reverse(vector<long long> &v1) {
  vector<long long> used;
  used.resize(sz);
  for (int j = 0; j < sz; j++) {
    long long x;
    if (1 - used[j] > 0) {
      x = v1[j];
      v1[j] = v1[revmas[j]];
      v1[rev(j)] = x;
      used[j] = 1;
      used[rev(j)] = 1;
    }
  }
}
long long transf(long long g, long long j) {
  long long h = g - ((g >> j) << j);
  return h;
}
void fft(vector<long long> &v1) {
  vector<long long> v2;
  v2.resize(sz);
  for (int j = 0; j < logs; j++) {
    if (1 - j % 2 > 0) {
      long long blc = 1 << (j + 1);
      for (int h = 0; h < sz / blc; h++) {
        for (int g = 0; g < blc; g++) {
          v2[h * blc + g] =
              v1[h * blc + (g >> 1)] +
              v1[h * blc + (g >> 1) + (blc >> 1)] * rev_pow[transf(g, j + 1)];
          v2[h * blc + g] %= p;
        }
      }
    }
    if (j % 2 > 0) {
      long long blc = 1 << (j + 1);
      for (int h = 0; h < sz / blc; h++) {
        for (int g = 0; g < blc; g++) {
          v1[h * blc + g] =
              v2[h * blc + (g >> 1)] +
              v2[h * blc + (g >> 1) + (blc >> 1)] * rev_pow[transf(g, j + 1)];
          v1[h * blc + g] %= p;
        }
      }
    }
  }
}
void dft(vector<long long> &v1) {
  vector<long long> v2;
  long long osz = obr(sz);
  v2.resize(sz);
  for (int j = 0; j < logs; j++) {
    if (1 - j % 2 > 0) {
      long long blc = 1 << (j + 1);
      for (int h = 0; h < sz / blc; h++) {
        for (int g = 0; g < blc; g++) {
          v2[h * blc + g] =
              v1[h * blc + (g >> 1)] +
              v1[h * blc + (g >> 1) + (blc >> 1)] * orev_pow[transf(g, j + 1)];
          v2[h * blc + g] %= p;
        }
      }
    }
    if (j % 2 > 0) {
      long long blc = 1 << (j + 1);
      for (int h = 0; h < sz / blc; h++) {
        for (int g = 0; g < blc; g++) {
          v1[h * blc + g] =
              v2[h * blc + (g >> 1)] +
              v2[h * blc + (g >> 1) + (blc >> 1)] * orev_pow[transf(g, j + 1)];
          v1[h * blc + g] %= p;
        }
      }
    }
  }
  for (int j = 0; j < sz; j++) {
    v1[j] *= osz;
    v1[j] %= p;
  }
}
void mlt(vector<long long> &v1, vector<long long> &v2, vector<long long> &v3,
         long long oo) {
  v1.resize(sz);
  v2.resize(sz);
  v3.resize(sz);
  b_reverse(v1);
  b_reverse(v2);
  fft(v1);
  fft(v2);
  mlt1(v1, v2, v3);
  dft(v3);
  b_reverse(v3);
  v3.resize(oo);
}
void umn(vector<long long> &v) {
  int x = v.size();
  for (int j = 0; j < x; j++) {
    v[j] *= fact[j];
    v[j] %= p;
  }
}
void umn1(vector<long long> &v) {
  int x = v.size();
  for (int j = 0; j < x; j++) {
    v[j] *= ofact[j];
    v[j] %= p;
  }
}
void mn(vector<long long> &v) {
  int x = v.size();
  for (int j = 0; j < x; j++) {
    if (j % 2 > 0) {
      v[j] = p - v[j];
    }
  }
}
void encode(vector<long long> &v) {
  vector<long long> v1 = v, v2, v3;
  umn(v1);
  reverse(v1.begin(), v1.end());
  int x = v.size();
  v2.resize(x);
  for (int j = 0; j < x; j++) {
    v2[j] = ofact[j];
  }
  mlt(v1, v2, v3, x);
  reverse(v3.begin(), v3.end());
  umn1(v3);
  for (int j = 0; j < x; j++) {
    v[j] = v3[j];
  }
}
void decode(vector<long long> &v) {
  vector<long long> v1 = v, v2, v3;
  umn(v1);
  mn(v1);
  reverse(v1.begin(), v1.end());
  int x = v.size();
  v2.resize(x);
  for (int j = 0; j < x; j++) {
    v2[j] = ofact[j];
  }
  mlt(v1, v2, v3, x);
  reverse(v3.begin(), v3.end());
  umn1(v3);
  mn(v3);
  for (int j = 0; j < x; j++) {
    v[j] = v3[j];
  }
}
void oper(vector<long long> &v, long long m) {
  long long n = v.size(), m1 = m % (p - 1);
  for (int j = 0; j < n; j++) {
    long long x = bp(j + 1, p - 1 - m1);
    v[j] *= x;
    v[j] %= p;
  }
}
void calc() {
  fact[0] = 1;
  ofact[0] = 1;
  for (int j = 1; j < 100001; j++) {
    if (2 - j > 0) {
      obrt[1] = 1;
    }
    if (j - 1 > 0) {
      obrt[j] = (p - (p / j) * obrt[p % j] % p) % p;
    }
    fact[j] = fact[j - 1] * j;
    fact[j] %= p;
    ofact[j] = ofact[j - 1] * obrt[j];
    ofact[j] %= p;
  }
}
void clc() {
  revmas.resize(sz);
  vector<long long> rm;
  rm.resize(sz);
  for (int j = 0; j < logs; j++) {
    if (1 - j % 2 > 0) {
      for (int h = 0; h < (1 << (j + 1)); h++) {
        rm[h] = revmas[h / 2] + ((h % 2) << j);
      }
    }
    if (j % 2 > 0) {
      for (int h = 0; h < (1 << (j + 1)); h++) {
        revmas[h] = rm[h / 2] + ((h % 2) << j);
      }
    }
  }
}
void pow_calcs() {
  rev_pow.resize(sz);
  orev_pow.resize(sz);
  pow1.resize(sz);
  opow.resize(sz);
  pow1[0] = 1;
  opow[0] = 1;
  for (int j = 1; j < sz; j++) {
    pow1[j] = pow1[j - 1] * root;
    pow1[j] %= p;
    opow[j] = opow[j - 1] * obroot;
    opow[j] %= p;
  }
  for (int j = 0; j < sz; j++) {
    rev_pow[j] = pow1[revmas[j]];
    orev_pow[j] = opow[revmas[j]];
  }
}
int main() {
  root = bp(5, 32 * 119);
  obroot = obr(root);
  clc();
  pow_calcs();
  long long n, m;
  vector<long long> v;
  cin >> n;
  cin >> m;
  for (int j = 0; j < n + 1; j++) {
    long long x;
    cin >> x;
    v.push_back(x);
  }
  calc();
  encode(v);
  oper(v, m);
  decode(v);
  for (int j = 0; j < n + 1; j++) {
    cout << v[j] % p << ' ';
  }
  return 0;
}