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;
const int N=1e3+10;

int gi() {
	int x=0,o=1;char ch=getchar();
	while((ch<'0'||ch>'9')&&ch!='-') ch=getchar();
	if(ch=='-') o=-1,ch=getchar();
	while(ch>='0'&&ch<='9') x=x*10+ch-'0',ch=getchar();
	return x*o;
}

int ways3[7][7]={{1,0,0},{1,0,0},{0,2,2}};
int ways4[7][7]={{2,3,1,1},{2,3,4,4},{5,5,7,8},{6,6,7,8}};
int ways5[7][7]={{0,0,1,2,3},{0,0,1,2,3},{4,4,7,5,5},{6,6,7,0,10},{8,8,9,9,10}};
int ways6[7][7]={{0,0,0,1,2,3},{0,0,0,1,2,3},{4,5,6,0,0,0},{4,5,6,0,0,0},{7,7,8,8,9,9},{10,10,11,11,12,12}};
int ways7[7][7]={{0,0,0,0,1,2,3},{0,0,0,0,1,2,3},{0,0,0,0,4,5,6},{0,0,0,0,4,5,6},{7,7,8,8,0,0,11},{9,9,10,10,0,0,11},{12,12,13,13,14,14,0}};
int ans[N][N];

int n;

void work(int x,int y,int len,int a[7][7]) {
	for(int i=x;i<x+len;i++)
		for(int j=y;j<y+len;j++) ans[i][j]=a[i-x][j-y];
}

void print() {
	for(int i=0;i<n;i++,cout<<'\n')
		for(int j=0;j<n;j++) {
			if(!ans[i][j]) putchar('.');
			else putchar(ans[i][j]-1+'a');
		}
}

int main() {
	cin>>n;
	if(n==2) { cout<<-1;return 0; }
	if(n==3) { work(0,0,3,ways3);print();return 0; }
	for(int i=0;i+7<n;i+=4) work(i,i,4,ways4);
	if(n%4==0) work(n-4,n-4,4,ways4);
	else if(n%4==1) work(n-5,n-5,5,ways5);
	else if(n%4==2) work(n-6,n-6,6,ways6);
	else if(n%4==3) work(n-7,n-7,7,ways7);
	print();
	return 0;
}