#include<bits/stdc++.h>
using namespace std;
void solve(){
	int ans=0,n,k,u,v,i,j;
	printf("1\n");
}
int main(){
	freopen("traverse.in","r",stdin);
	freopen("traverse.out","w",stdout);
	int n,m,i,j,k,t,c;
	scanf("%d%d",&c,&t);
	while(t--) solve();
	fclose(stdin);
	fclose(stdout);
	return 0;
}
