#include<iostream>
#include<algorithm>
#include<string.h>
using namespace std;
int main(){
	freopen("traverse.in","r",stdin);
	freopen("traverse.out","w",stdout);
	int n,k;
	cin>>n>>k;
	for(int i=1;i<=k;i++){
		if(n<=5){
			cout<<2<<endl;
		}
		else{
			cout<<n*n<<endl;
		}
	}
	return 0;
} 
