#include<bits/stdc++.h>

// AFO

using namespace std;

const int mod = 1e9+7;

int main(){
	freopen("traverse.in", "r", stdin);
	freopen("traverse.out", "w", stdout);
	int c, T;
	cin>>c>>T;
	while(T--){
		cout<<rand()%mod<<endl;
	}
	return 0;
}
