#include<bits/stdc++.h>
#define pii pair<int, int>
using namespace std;
const int N = 2e5 + 5;
int n, m;
signed main(){
	freopen("replace.in", "r", stdin);
	freopen("replace.out", "w", stdout);
	cin >> n >> m;
	while(m--) cout << 0 << endl;
	return 0;
}

