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>
using namespace std;
typedef long long ll;
typedef long long LL;
typedef long double lb;
#define ri register int
const lb PI=3.141592653589793238462643383279;
const ll inf=1000000000000000000ll;
const int N=1000005,M=998244353;
long long qpow(long long a,long long b)
{
	long long s=a,ans=1;
	while(b)
	{
		if(b&1)
			ans=ans*s%M;
		b>>=1;
		s=s*s%M;
	}
	return ans;
}
int n,i,l,r,j,dp[1005];
char ans[1005][1005];
string a[7]={"aabbc..",
			"bbaac..",
			"aabb.dd",
			"....aba",
			"....aba",
			"....bab",
			"....bab"};
string b[4]={	"aabc",
				"ddbc",
				"fgee",
				"fghh"};
string c[5]={	"aa.bc",
				".ddbc",
				"eefgg",
				"h.f.i",
				"h.kki"};
int main()
{
	scanf("%d",&n);
	if(n<=2)
	{
		puts("-1");
		return 0;
	}
	for(i=1;i<=n;++i)
		for(j=1;j<=n;++j)
			ans[i][j]='.';
	dp[0]=dp[4]=dp[5]=dp[7]=1;
	if(n%3==0)
		for(i=1;i<=n;i+=3)
			ans[i][i]=ans[i][i+1]=ans[i+1][i+2]=ans[i+2][i+2]='a';
	else
	{
		l=1;
		int tn=n;
		while(n)
		{
			if(n-4>=7||dp[n-4])
			{
				n-=4;
				for(i=0;i<4;++i)
					for(j=0;j<4;++j)
						ans[i+l][j+l]=b[i][j];
				l+=4;
				continue;
			}
			if(n-5>=7||dp[n-5])
			{
				n-=5;
				for(i=0;i<5;++i)
					for(j=0;j<5;++j)
						ans[i+l][j+l]=c[i][j];
				l+=5;
				continue;
			}
			if(n-7>=7||dp[n-7])
			{
				n-=7;
				for(i=0;i<7;++i)
					for(j=0;j<7;++j)
						ans[i+l][j+l]=a[i][j];
				l+=7;
			}
		}
		n=tn;
	}
	for(i=1;i<=n;++i)
		printf("%s\n",ans[i]+1);
}