Problem: PolandBall is standing in a row with Many Other Balls. More precisely, there are exactly n Balls. Balls are proud of their home land — and they want to prove that it's strong.

The Balls decided to start with selecting exactly m groups of Balls, each consisting either of single Ball or two neighboring Balls. Each Ball can join no more than one group.

The Balls really want to impress their Enemies. They kindly asked you to calculate number of such divisions for all m where 1 ≤ m ≤ k. Output all these values modulo 998244353, the Enemies will be impressed anyway.

Input

There are exactly two numbers n and k (1 ≤ n ≤ 109, 1 ≤ k < 215), denoting the number of Balls and the maximim number of groups, respectively.

Output

You should output a sequence of k values. The i-th of them should represent the sought number of divisions into exactly i groups, according to PolandBall's rules.

Examples

Input

3 3


Output

5 5 1 

Input

1 1


Output

1 

Input

5 10


Output

9 25 25 9 1 0 0 0 0 0 

Note

In the first sample case we can divide Balls into groups as follows: 

{1}, {2}, {3}, {12}, {23}.

{12}{3}, {1}{23}, {1}{2}, {1}{3}, {2}{3}.

{1}{2}{3}.

Therefore, output is: 5 5 1.

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
const int MT = 16, T = (1 << MT) | 1;
const int K = 998244353;
int inv[T], w[T];
namespace NTT {
int power(int a, int b) {
  int t = 1;
  for (; b > 0; b >>= 1, a = 1ll * a * a % K) b & 1 ? t = 1ll * t * a % K : 0;
  return t;
}
void initNTT() {
  w[0] = 1, w[1] = power(3, K >> MT);
  for (int i = 2; i <= T - 1; i++) w[i] = 1ll * w[i - 1] * w[1] % K;
  inv[1] = 1;
  for (int i = 2; i <= T - 1; i++) inv[i] = (K - K / i) * 1ll * inv[K % i] % K;
}
int getmx(int n) {
  int mx = 1;
  for (; mx < n; mx <<= 1)
    ;
  return mx;
}
vector<int> ntt(vector<int> &a, int mx) {
  vector<int> b = a;
  static int rev[T];
  b.resize(mx);
  for (int i = 0; i <= mx - 1; i++)
    rev[i] = rev[i >> 1] >> 1 | (i & 1) * (mx >> 1),
    rev[i] > i ? swap(b[i], b[rev[i]]) : void();
  for (int k = 1, _ = T / 2; k < mx; k <<= 1, _ >>= 1)
    for (int j = 0; j < mx; j += k << 1)
      for (int t, i = j, p = 0; i < j + k; ++i, p += _)
        t = 1ll * b[i + k] * w[p] % K, b[i + k] = (b[i] - t + K) % K,
        b[i] = (b[i] + t) % K;
  return b;
}
vector<int> trans(vector<int> &a, int n) {
  const int mx = a.size();
  if (mx <= n) n = mx - 1;
  vector<int> b = a;
  vector<int> rev(mx);
  for (int i = 0; i <= mx - 1; i++)
    rev[i] = rev[i >> 1] >> 1 | (i & 1) * (mx >> 1),
    rev[i] > i ? swap(b[i], b[rev[i]]) : void();
  for (int k = 1, _ = -T / 2; k < mx; k <<= 1, _ >>= 1)
    for (int j = 0; j < mx; j += k << 1)
      for (int t, i = j, p = T - 1; i < j + k; ++i, p += _)
        t = 1ll * b[i + k] * w[p] % K, b[i + k] = (b[i] - t + K) % K,
        b[i] = (b[i] + t) % K;
  int t = power(mx, K - 2);
  vector<int> c;
  int te = 1;
  for (int i = n; i >= 0; i--)
    if (b[i]) {
      c.push_back(b[i] * 1ll * t % K);
      te = i;
      break;
    }
  for (int i = te - 1; i >= 0; i--) c.push_back(b[i] * 1ll * t % K);
  reverse(c.begin(), c.end());
  return c;
}
vector<int> multiply(vector<int> &a, vector<int> &b, int n) {
  int N = a.size();
  if (N < b.size()) N = b.size();
  int mx = getmx((N << 1));
  vector<int> c = ntt(a, mx);
  vector<int> d = ntt(b, mx);
  for (int i = 0; i <= mx - 1; i++) c[i] = c[i] * 1ll * d[i] % K;
  int u = a.size() + b.size() - 2;
  if (n > u) n = u;
  c = trans(c, n);
  return c;
}
inline vector<int> multiply(vector<int> &a, vector<int> &b) {
  return multiply(a, b, T - 1);
}
vector<int> inverse(vector<int> &a, int n) {
  if (n == 0) {
    vector<int> b;
    b.push_back(power(a[0], K - 2));
    return b;
  }
  vector<int> b = inverse(a, n >> 1);
  n++;
  vector<int> t;
  if (a.size() >= n)
    t = vector<int>(a.begin(), a.begin() + n);
  else
    t = a;
  int mx = getmx(n << 1);
  t = ntt(t, mx);
  b = ntt(b, mx);
  for (int i = 0; i <= mx - 1; i++)
    b[i] = b[i] * (2ll - t[i] * 1ll * b[i] % K + K) % K;
  n--;
  vector<int> C = trans(b, n);
  return trans(b, n);
}
inline vector<int> derivative(vector<int> &a, int m) {
  vector<int> b;
  for (int i = 0; i + 1 < a.size(); i++) {
    b.push_back(a[i + 1] * 1ll * (i + 1) % K);
  }
  return b;
}
inline vector<int> integrate(vector<int> &a, int m) {
  vector<int> b;
  b.push_back(0);
  for (int i = 1; i - 1 < a.size() && i <= m; i++) {
    b.push_back(a[i - 1] * 1ll * inv[i] % K);
  }
  return b;
}
vector<int> ln(vector<int> &a, int n) {
  int mx = getmx((n + 1) << 1);
  vector<int> u = derivative(a, n);
  u = ntt(u, mx);
  vector<int> d = inverse(a, n);
  d = ntt(d, mx);
  vector<int> b(mx);
  for (int i = 0; i <= mx - 1; i++) b[i] = u[i] * 1ll * d[i] % K;
  b = trans(b, n);
  return integrate(b, n);
}
vector<int> exp(vector<int> &a, int n) {
  if (!n) {
    vector<int> b;
    b.push_back(1);
    return b;
  }
  vector<int> b = exp(a, n >> 1);
  n++;
  vector<int> l, t;
  int mx = getmx(n << 1);
  if (a.size() >= n)
    t = vector<int>(a.begin(), a.begin() + n);
  else
    t = a;
  t = ntt(t, mx);
  l = ln(b, n - 1);
  l = ntt(l, mx);
  b = ntt(b, mx);
  for (int i = 0; i <= mx - 1; i++)
    b[i] = b[i] * 1ll * (1ll - l[i] + t[i] + K) % K;
  n--;
  return trans(b, n);
}
vector<int> sqrt(vector<int> &a, int n) {
  if (n == 0) {
    vector<int> b;
    b.push_back(a[0]);
    return b;
  }
  int i2 = inv[2];
  vector<int> b = sqrt(a, n >> 1);
  n++;
  vector<int> ib, t;
  int mx = getmx(n << 1);
  if (a.size() >= n)
    t = vector<int>(a.begin(), a.begin() + n);
  else
    t = a;
  t = ntt(t, mx);
  ib = inverse(b, n - 1);
  ib = ntt(ib, mx);
  b = ntt(b, mx);
  for (int i = 0; i <= mx - 1; i++)
    b[i] = (b[i] * 1ll * b[i] + t[i]) % K * 1ll * i2 % K * ib[i] % K;
  n--;
  return trans(b, n);
}
vector<int> pw(vector<int> &a, int n, int m) {
  vector<int> res;
  if (n == 0) {
    res.push_back(1);
    return res;
  }
  int A0 = power(a[0], n);
  res = ln(a, m);
  for (int i = 0; i < res.size(); i++) res[i] = res[i] * 1ll * n % K;
  res = exp(res, m);
  for (int i = 0; i < res.size(); i++) res[i] = res[i] * 1ll * A0 % K;
  return res;
}
}  // namespace NTT
using namespace NTT;
vector<int> A1, A2, X1, X2, S, R, TT;
int n, k;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(NULL);
  initNTT();
  int k1;
  cin >> n >> k1;
  k = min(n, k1);
  long long int rev2 = inv[2];
  S.push_back(1);
  S.push_back(6);
  S.push_back(1);
  S = sqrt(S, k);
  R = inverse(S, k);
  TT = {1, 1};
  TT.resize(k + 1);
  for (int i = 0; i <= k; i++) TT[i] = (TT[i] + S[i]) * 1ll * rev2 % K;
  S = pw(TT, n + 1, k);
  TT = multiply(S, R, k);
  for (int i = 1; i <= k; i++) {
    cout << TT[i] << " ";
  }
  for (int i = k + 1; i <= k1; i++) cout << 0 << " ";
  return 0;
}