#include<bits/stdc++.h>
using namespace std;
const int N=2e5+10,mod=1e9+7;
int c,t,n,x,y,k,d[N];
int main(){
	freopen("traverse.in","r",stdin);
	freopen("traverse.out","w",stdout);
	cin>>c>>t;
	while(t--) cout<<1<<endl;
	return 0;
}
