//fuck ccf
#include<bits/stdc++.h>
using namespace std;
int main()
{
	freopen("employ.in","r",stdin);
	freopen("employ.out","w",stdout);
	int n,q;
	cin>>n>>q;
	while(q--)
	{
		mt19937 rng(time(0));
		cout<<rng()%998244353;
	}
	#define whk 0
	return whk;
}
