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 maxn=1100;
char c3[10][10]=
{
	{'a','a','.'},
	{'.','.','a'},
	{'.','.','a'}
};
char c4[10][10]=
{
	{'a','a','b','c'},
	{'d','d','b','c'},
	{'b','c','a','a'},
	{'b','c','d','d'}
};
char c5[10][10]=
{
	{'a','a','b','b','a'},
	{'b','c','c','.','a'},
	{'b','.','.','c','b'},
	{'a','.','.','c','b'},
	{'a','b','b','a','a'}
};
char c6[10][10]=
{
	{'a','a','b','c','.','.'},
	{'d','d','b','c','.','.'},
	{'.','.','a','a','b','c'},
	{'.','.','d','d','b','c'},
	{'b','c','.','.','a','a'},
	{'b','c','.','.','d','d'}
};
char c7[10][10]=
{
	{'a','a','b','b','c','c','.'},
	{'d','d','.','d','d','.','a'},
	{'.','.','d','.','.','d','a'},
	{'.','.','d','.','.','d','b'},
	{'d','d','.','d','d','.','b'},
	{'.','.','d','.','.','d','c'},
	{'.','.','d','.','.','d','c'}
};
char mp[maxn][maxn];
int n;
void tag(char c[][10],int a,int b,int d)
{
	for(int i=0;i<d;i++)
	{
		for(int j=0;j<d;j++)
		{
			mp[a+i][b+j]=c[i][j];
		}
	}
	return;
}
void taga(char c[][10],int x,int d)
{
	for(int i=x;i<n;i+=d) tag(c,i,i,d);
	return;
}
int main()
{
	memset(mp,'.',sizeof(mp));
	scanf("%d",&n);
	if(n==2) printf("-1\n");
	else
	{
		if(n==3) tag(c3,0,0,3);
		else 
		{
			if(n%4==0) taga(c4,0,4);
			else if(n%4==1) tag(c5,0,0,5),taga(c4,5,4);
			else if(n%4==2) tag(c6,0,0,6),taga(c4,6,4);
			else  tag(c7,0,0,7),taga(c4,7,4);
		}
		for(int i=0;i<n;i++)
		{
			for(int j=0;j<n;j++) printf("%c",mp[i][j]);
			printf("\n");
		}
	}
	return 0;
}