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 <iostream>
#define debug(...) fprintf(stderr,__VA_ARGS__)
using namespace std;
inline char nc() {
//	return getchar();
	static char buf[100000],*l=buf,*r=buf;
	return l==r&&(r=(l=buf)+fread(buf,1,100000,stdin),l==r)?EOF:*l++;
}
template<class T> void read(T &x) {
	x=0; int f=1,ch=nc();
	while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=nc();}
	while(ch>='0'&&ch<='9'){x=x*10-'0'+ch;ch=nc();}
	x*=f;
}
const int maxN=1000+5;
int N;
char an[maxN][maxN];
string s[8][8];
void init() {
	s[4][0]="aabc";
	s[4][1]="ddbc";
	s[4][2]="bcaa";
	s[4][3]="bcdd";
	s[5][0]="aabba"; 
	s[5][1]="bcc.a"; 
	s[5][2]="b..cb"; 
	s[5][3]="a..cb"; 
	s[5][4]="abbaa";
	s[6][0]="aabc..";
	s[6][1]="ddbc..";
	s[6][2]="..aabc";
	s[6][3]="..ddbc";
	s[6][4]="bc..aa";
	s[6][5]="bc..dd";
	s[7][0]="aabbcc.";
	s[7][1]="dd.dd.a";
	s[7][2]="..d..da";
	s[7][3]="..d..db";
	s[7][4]="dd.dd.b";
	s[7][5]="..d..dc";
	s[7][6]="..d..dc";
}
void work(int x,int y,int n) {
	for(int i=0;i<n;++i) for(int j=0;j<n;++j) an[x+i][x+j]=s[n][i][j];
}
int main() {
	init();
	read(N);
	if(N==2) puts("-1");
	else if(N==3) {
		puts("aa.");
		puts("..a");
		puts("..a");
	}
	else {
		int n=N;
		for(int i=0;i<n;++i) for(int j=0;j<n;++j) an[i][j]='.';
		while(n>7) work(n-4,n-4,4),n-=4;
		work(0,0,n);
		for(int i=0;i<N;++i) {
			for(int j=0;j<N;++j) printf("%c",an[i][j]);
			printf("\n");
		}
	}
	return 0;
}