#include<bits/stdc++.h>
#define ll long long
using namespace std;
const int N=1e7+9;
int n,k;
int main (){
	freopen("replace.in","r",stdin);
	freopen("replace.out","w",stdout);
	cin>>n>>k;
	while(k--) cout<<0<<endl;
    fclose(stdin);
	fclose(stdout);
	return 0;
}

