#include <bits/stdc++.h>
using namespace std;

int main()
{
	freopen("replace2.in","r",stdin);
	freopen("replace2.out","w",stdout);
	cout<<"0"<<endl;
	int n,q;
	cin>>n>>q;
	for(int i=1;i<q;i++)cout<<"0"<<endl;
	return 0;
}
