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:
#pragma GCC optimize(2)
#include<bits/stdc++.h>
#define ll long long
#define maxn 1000005
#define inf 1e9
#define pb push_back
#define rep(i,a,b) for(int i=a;i<=b;i++)
#define per(i,a,b) for(int i=a;i>=b;i--)
using namespace std;

inline int read()
{
	int x=0,w=1; char c=getchar();
	while(c<'0'||c>'9') {if(c=='-') w=-1; c=getchar();}
	while(c<='9'&&c>='0') {x=(x<<1)+(x<<3)+c-'0'; c=getchar();}
	return w==1?x:-x;
}

char ans[1005][1005];
const string S4[4]={"abcc", "abdd", "ccab", "ddab"};
const string S5[5]={"abbcc", "ad..a", "bd..a", "b.eez", "oorrz"};
const string S6[6]={"oorrzz", ".a.b.c", ".a.b.c", "d.e.f.", "d.e.f.", "oorrzz"};
const string S7[7]={".oorrzz", "oabb...", "oa.c...", "rddc...", "r...abb", "z...a.c", "z...ddc"};


int main()
{
	int n=read(); if(n<=2) return puts("-1"),0;
	if(n==3)
	{
		puts("aab"); puts("d.b"); puts("dcc");
		return 0;
	}
	rep(i,1,n) rep(j,1,n) ans[i][j]='.';
	int p=n%4; n-=p; n-=4; p+=4;
	for(int i=1;i<=n;i+=4)
	{
		rep(j,0,3) rep(k,0,3) ans[i+j][i+k]=S4[j][k];
	}
	if(p==4)
	{
		n++;
		rep(j,0,3) rep(k,0,3) ans[n+j][n+k]=S4[j][k]; n+=3;
	}
	else if(p==5)
	{
		n++;
		rep(j,0,4) rep(k,0,4) ans[n+j][n+k]=S5[j][k]; n+=4;
	}
	else if(p==6)
	{
		n++;
		rep(j,0,5) rep(k,0,5) ans[n+j][n+k]=S6[j][k]; n+=5;
	}
	else
	{
		n++;
		rep(j,0,6) rep(k,0,6) ans[n+j][n+k]=S7[j][k]; n+=6;
	}
	rep(i,1,n)
	{
		rep(j,1,n) printf("%c",ans[i][j]); puts("");
	}
	return 0;
}