Problem: Let us consider a grid of squares with N rows and N columns. You want to put some domino pieces on this grid. Each domino piece covers two squares that have a common side. Each square can be covered by at most one piece.

For each row of the grid, let's define its quality as the number of domino pieces that cover at least one square in this row. We define the quality of each column similarly.

Find a way to put at least one domino piece on the grid so that the quality of every row is equal to the quality of every column, or determine that such a placement doesn't exist.

Constraints

* 2 \le N \le 1000

Input

Input is given from Standard Input in the following format:


N


Output

If the required domino placement doesn't exist, print a single integer `-1`.

Otherwise, output your placement as N strings of N characters each. If a square is not covered, the corresponding character must be `.` (a dot). Otherwise, it must contain a lowercase English letter. Squares covered by the same domino piece must contain the same letter. If two squares have a common side but belong to different pieces, they must contain different letters.

Examples

Input

6


Output

aabb..
b..zz.
ba....
.a..aa
..a..b
..a..b


Input

2


Output

-1

Solution (in CPP):

Solution:
#include<bits/stdc++.h>
#define randome_generate srand(std::chrono::high_resolution_clock::now().time_since_epoch().count())
using namespace std;
int n;
char mb3[4][4]={
	{".aa"},
	{"a.."},
	{"a.."}
};
char mb4[5][5]={
	{"aabc"},
	{"ccbc"},
	{"badd"},
	{"bacc"}
};
char mb5[6][6]={
	{"aabba"},
	{".bc.a"},
	{"cbc.."},
	{"c.dbb"},
	{"aadcc"}
};
char mb6[7][7]={
	{"caac.."},
	{"c..caa"},
	{"baab.."},
	{"b..baa"},
	{"caac.."},
	{"c..caa"}
};
char mb7[8][8]={
	{"aabbcc."},
	{"dd.dd.a"},
	{"..d..da"},
	{"..d..db"},
	{"dd.dd.b"},
	{"..d..dc"},
	{"..d..dc"}
};
char canvas[1200][1200];
void paint3(int x,int y){
	for(int i=0;i<3;i++)
		for(int j=0;j<3;j++)
			canvas[i+x][j+y]=mb3[i][j];
}
void paint4(int x,int y){
	for(int i=0;i<4;i++)
		for(int j=0;j<4;j++)
			canvas[i+x][j+y]=mb4[i][j];
}
void paint5(int x,int y){
	for(int i=0;i<5;i++)
		for(int j=0;j<5;j++)
			canvas[i+x][j+y]=mb5[i][j];
}
void paint6(int x,int y){
	for(int i=0;i<6;i++)
		for(int j=0;j<6;j++)
			canvas[i+x][j+y]=mb6[i][j];
}
void paint7(int x,int y){
	for(int i=0;i<7;i++)
		for(int j=0;j<7;j++)
			canvas[i+x][j+y]=mb7[i][j];
}
void painter(int id,int x,int y){
	if(id==3)
		paint3(x,y);
	if(id==4)
		paint4(x,y);
	if(id==5)
		paint5(x,y);
	if(id==6)
		paint6(x,y);
	if(id==7)
		paint7(x,y);
}
int main(){
	//freopen("input.txt","r",stdin);
	//freopen("output.txt","w",stdout);
	ios::sync_with_stdio(false);
	cin.tie(NULL);
	cout.tie(NULL);
	cin>>n;
	for(int i=1;i<=n;i++){
		for(int j=1;j<=n;j++)
			canvas[i][j]='.';
	}
	if(n==2){
		cout<<-1<<endl;
		return 0;
	}
	if(n==3){
		cout<<".aa"<<endl;
		cout<<"a.."<<endl;
		cout<<"a.."<<endl;
		return 0;
	}
	int x=n/4-1;
	int y=n-x*4;
	int xx=1,yy=1;
	for(int i=1;i<=x;i++){
		painter(4,xx,yy);
		xx+=4;
		yy+=4;
	}
	painter(y,xx,yy);
	for(int i=1;i<=n;i++){
		for(int j=1;j<=n;j++)
			cout<<canvas[i][j];
		cout<<endl;
	}
	return 0;
}