#include <bits/stdc++.h>
#define ll long long
#define N 100005
using namespace std;
int T;
signed main(){
//	cout<<(ll)98760LL*(ll)100000LL*2LL%(ll)(1e9+7);
//	freopen("traverse.in","r",stdin);
	freopen("traverse.in","r",stdin);
	freopen("traverse.out","w",stdout);
	scanf("%d%d",&T,&T);
	while(T--) printf("1\n");
	return 0;
}
