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<cstdio>
#include<cstring>
#include<algorithm>
using namespace std;
int n;
char ans[1010][1010];
void print()
{
	for(int i=1;i<=n;++i)
	{
		for(int j=1;j<=n;++j)
			if(ans[i][j])putchar(ans[i][j]);
			else putchar('.');
		printf("\n");
	}
}
int main()
{
	scanf("%d",&n);
	if(n==1||n==2)return printf("-1"),0;
	if(n%3==0)
	{
		for(int i=1;i<=n/3;++i)
		{
			ans[i*3-2][i*3-2]=ans[i*3-1][i*3-2]='a';
			ans[i*3][i*3-1]=ans[i*3][i*3]='b';
		}
		print();
		return 0;
	}
	if(n==7)
	{
		printf("\
a.bb.cc\n\
ad.ee..\n\
.df.gg.\n\
h.f..ii\n\
hj....k\n\
.jl...k\n\
mmlnn..\n\
		");
		return 0;
	}
	if(n==11)
	{
		printf("\
abbcc......\n\
add.e......\n\
f..ge......\n\
f..gh......\n\
iijjh......\n\
.....aa.ccd\n\
.......bf.d\n\
.......bfee\n\
.....ccdaa.\n\
.....f.d..b\n\
.....fee..b\n\
		");
		return 0;
	}
	int p;
	for(int i=0;;++i)
		if((n-i*4)%5==0)
		{
			p=i;break;
		}
	for(int i=1;i<=p;++i)
	{
		ans[i*4-3][i*4-3]=ans[i*4-2][i*4-3]='a';
		ans[i*4-3][i*4-2]=ans[i*4-2][i*4-2]='b';
		ans[i*4-3][i*4-1]=ans[i*4-3][i*4]='c';
		ans[i*4-2][i*4-1]=ans[i*4-2][i*4]='d';
		ans[i*4-1][i*4-3]=ans[i*4-1][i*4-2]='e';
		ans[i*4][i*4-3]=ans[i*4][i*4-2]='f';
		ans[i*4-1][i*4-1]=ans[i*4][i*4-1]='g';
		ans[i*4-1][i*4]=ans[i*4][i*4]='h';
	}
	for(int i=1,s=p*4;i<=(n-p*4)/5;++i,s+=5)
	{
		ans[s+1][s+1]=ans[s+2][s+1]='a';
		ans[s+3][s+1]=ans[s+4][s+1]='b';
		ans[s+5][s+1]=ans[s+5][s+2]='c';
		ans[s+5][s+3]=ans[s+5][s+4]='d';
		ans[s+1][s+2]=ans[s+1][s+3]='e';
		ans[s+1][s+4]=ans[s+1][s+5]='f';
		ans[s+2][s+5]=ans[s+3][s+5]='g';
		ans[s+4][s+5]=ans[s+5][s+5]='h';
		ans[s+2][s+2]=ans[s+2][s+3]='i';
		ans[s+3][s+4]=ans[s+4][s+4]='j';
	}
	print();
	return 0;
}