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<algorithm>
#include<cstdio>
#define mxn 1000010
#define pii pair<int,int>
#define fr first
#define sc second
#define mp make_pair
#define LL long long
using namespace std;
const int mod=1e9+7;
int n,m,sl,fh,ans[1010][1010];
const int s4[4][4]={{1,1,3,1},
					{2,2,3,1},
					{1,3,2,2},
					{1,3,1,1}};
const int s5[5][5]={{1,1,3,1,1},
					{2,2,3,2,0},
					{0,1,1,2,1},
					{1,0,2,0,1},
					{1,0,2,3,3}};
const int s6[6][6]={{1,1,0,0,1,2},
					{2,2,0,0,1,2},
					{1,3,1,1,0,0},
					{1,3,2,2,0,0},
					{0,0,1,3,1,1},
					{0,0,1,3,2,2}};
const int s7[7][7]={{0,1,0,1,0,1,1},
					{0,1,3,1,0,0,0},
					{2,2,3,0,0,1,1},
					{1,4,4,0,2,0,0},
					{1,0,1,1,2,0,0},
					{2,0,0,3,3,0,2},
					{2,0,0,0,1,1,2}};
int rd()
{
	sl=0;fh=1;
	char ch=getchar();
	while(ch<'0'||'9'<ch) {if(ch=='-') fh=-1; ch=getchar();}
	while('0'<=ch&&ch<='9') sl=sl*10+ch-'0',ch=getchar();
	return sl*fh;
}
int main()
{
	n=rd();
	if(n<=2) return puts("-1"),0;
	else if(n==3)
	{
		puts("aa.");
		puts("..a");
		puts("..a");
		return 0;
	}
	else
	{
		m=n%4+4;
		if(m==4)
			for(int i=0;i<4;++i)
				for(int j=0;j<4;++j)
					ans[i][j]=s4[i][j];
		if(m==5)
			for(int i=0;i<5;++i)
				for(int j=0;j<5;++j)
					ans[i][j]=s5[i][j];
		if(m==6)
			for(int i=0;i<6;++i)
				for(int j=0;j<6;++j)
					ans[i][j]=s6[i][j];
		if(m==7)
			for(int i=0;i<7;++i)
				for(int j=0;j<7;++j)
					ans[i][j]=s7[i][j];
		for(int i=m;i<n;i+=4)
			for(int x=0;x<4;++x)
				for(int y=0;y<4;++y)
					ans[i+x][i+y]=s4[x][y];
		for(int i=0;i<n;++i,puts(""))
			for(int j=0;j<n;++j)
				if(ans[i][j]) putchar(ans[i][j]+'a'-1);
				else putchar('.');
		return 0;
	}
	return 0;
}