Takahashi throws N dice, each having K sides with all integers from 1 to K. The dice are NOT pairwise distinguishable. For each i=2,3,...,2K, find the following value modulo 998244353:

* The number of combinations of N sides shown by the dice such that the sum of no two different sides is i.



Note that the dice are NOT distinguishable, that is, two combinations are considered different when there exists an integer k such that the number of dice showing k is different in those two.

Constraints

* 1 \leq K \leq 2000
* 2 \leq N \leq 2000
* K and N are integers.

Input

Input is given from Standard Input in the following format:


K N


Output

Print 2K-1 integers. The t-th of them (1\leq t\leq 2K-1) should be the answer for i=t+1.

Examples

Input

3 3


Output

7
7
4
7
7


Input

4 5


Output

36
36
20
20
20
36
36


Input

6 1000


Output

149393349
149393349
668669001
668669001
4000002
4000002
4000002
668669001
668669001
149393349
149393349
#include<iostream>
#include<algorithm>

using namespace std;
typedef long long Int;
#define MOD 998244353LL;

Int cmemo[4000][4000];

Int C(Int x, Int y){
	if(x < y)return 0;
	Int &res = cmemo[x][y];
	if(res != -1)return res;
	if(y == 0 || x == y)return res = 1;
	return res = (C(x-1, y) + C(x-1, y-1)) % MOD;
}

Int cnt(Int n, Int k){
	if(n < 0)return 0;
	return C(n+k-1, n);
}

Int solve(Int n, Int ban, Int k){
	Int res = 0;
	Int p = 1;
	for(Int i = 1;i <= ban;i++){
		res += p * C(ban, i) * cnt(n-2*i,k) % MOD;res %= MOD;
		p *= -1;
	}
	if(res < 0)res += MOD;
	return cnt(n, k) - res;
}

int cnthoge(int x, int k){
	int res = 0;
	for(int i = 1;i <= k;i++){
		int kk = x - i;
		if(0 < kk && kk <= k && kk != i)res++;
	}
	return res / 2;
}

int main(){
	Int k, n;
	for(int i = 0;i < 4000;i++)
		for(int j = 0;j < 4000;j++)
			cmemo[i][j] = -1;
	cin >> k >> n;
	for(int i = 2;i <= 2*k;i++){
		Int res = 0;
		if(i % 2 == 0){
			res += solve(n,cnthoge(i, k), k-1);
			res += solve(n-1,cnthoge(i, k), k-1);
			res %= MOD;
		}
		else{
			res += solve(n, cnthoge(i, k), k);
		}
		res %= MOD;
		if(res < 0)res += MOD;
		cout << res << endl;
	}
	return 0;
}