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 ll long long
#define ull unsigned ll
#define uint unsigned
#define pii pair<int,int>
#define pll pair<ll,ll>
#define IT iterator
#define PB push_back
#define fi first
#define se second
#define For(i,j,k) for (int i=(int)(j);i<=(int)(k);i++)
#define Rep(i,j,k) for (int i=(int)(j);i>=(int)(k);i--)
#define CLR(a,v) memset(a,v,sizeof(a));
#define CPY(a,b) memcpy(a,b,sizeof(a));
#define debug puts("wzpakking")
#define y1 ysghysgsygsh
using namespace std;
const int N=2005;
int n;
char ans[N][N];
const char S4[4][4]={{'a','a','b','c'},
					 {'d','d','b','c'},
					 {'e','f','g','g'},
					 {'e','f','h','h'}};
const char S5[5][5]={{'a','a','b','b','c'},
					 {'h','i','i','.','c'},
					 {'h','.','.','j','d'},
					 {'g','.','.','j','d'},
					 {'g','f','f','e','e'}};
const char S7[7][7]={{'.','a','a','b','b','c','c'},
					 {'a','d','f','f','.','.','.'},
					 {'a','d','.','g','.','.','.'},
					 {'b','e','e','g','.','.','.'},
					 {'b','.','.','.','d','g','g'},
					 {'c','.','.','.','d','.','f'},
					 {'c','.','.','.','e','e','f'}};
bool fr[1005];
int main(){
	scanf("%d",&n);
	if (n==2) return puts("-1"),0;
	For(i,1,n) For(j,1,n) ans[i][j]='.';
	if (n%3==0){
		for (int i=1;i<=n;i+=3){
			ans[i][i]=ans[i][i+1]='a';
			ans[i+1][i+2]=ans[i+2][i+2]='a';
		}
	}
	else{
		fr[0]=1;
		For(i,0,n) if (fr[i])
			fr[i+4]=fr[i+5]=fr[i+7]=1;
		assert(fr[n]);
		int m=n;
		for (;n;){
			if (n>=4&&fr[n-4]){
				For(i,0,3) For(j,0,3)
					ans[n-i][n-j]=S4[i][j];
				n-=4;
			}
			if (n>=5&&fr[n-5]){
				For(i,0,4) For(j,0,4)
					ans[n-i][n-j]=S5[i][j];
				n-=5;
			}
			if (n>=7&&fr[n-7]){
				For(i,0,6) For(j,0,6)
					ans[n-i][n-j]=S7[i][j];
				n-=7;
			}
		}
		n=m;
	}
	For(i,1,n)
		printf("%s\n",ans[i]+1);
}