#include<bits/stdc++.h>
using namespace std;
const int N=1e5+5,M=1e6+5;
int n,m,a[N];
int main()
{
	freopen("replace.in","r",stdin);
	freopen("replace.out","w",stdout);
	int i,j,k;
	scanf("%d%d",&n,&m);
	for (i=1;i<=m;i++) printf("0\n");
	return 0;
}

