#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define fi first
#define se second
ll read(){
	ll x=0;int f=1;char c=getchar();
	while(c>'9'||c<'0'){if(c=='-')f=-1;c=getchar();}
	while(c<='9'&&c>='0'){x=(x<<3)+(x<<1)+c-48;c=getchar();}
	return x*f;
} 
int n,m; 
int main(){
	freopen("traverse.in","r",stdin);
	freopen("traverse.out","w",stdout);
	n=read();
	m=read();
	while(m--){
		cout<<1<<endl;
	} 
	return 0;
}




