#include<iostream>
#include<cstdio>
using namespace std;
signed main() {
	freopen("traverse.in" , "r" , stdin);
	freopen("traverse.out" , "w" , stdout);
	int t , n;
	cin>>t>>n;
	while(n--) puts("1");
	return 0;
} 
