#include<bits/stdc++.h>
#define ll long long
#define R register
using namespace std;
inline void solve(){
	cout<<"1\n";
}
int main(){
	freopen("traverse.in","r",stdin);
	freopen("traverse.out","w",stdout);
	ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
	int c,_;cin>>c>>_;while(_--)solve(); 
	return 0;
}

