#include<bits/stdc++.h>
#define ll long long
#define rep(i,x,y) for(int i=x;i<=y;i++)
#define per(i,x,y) for(int i=y;i>=x;i--)
#define file(NAME)\
	freopen(NAME".in","r",stdin),\
	freopen(NAME".out","w",stdout)
using namespace std;
const int N=0,M=0,P=1e9+7;
int n,u,v,m;
ll s;
int main()
{
	file("traverse");
	int c,T;scanf("%d%d",&c,&T);
	while(T--) printf("1\n");
	return 0;
}
