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=1005;
const char a3[3][4]={"..b","..b","aa."};
const char a4[4][5]={"eegd","aagd","hcff","hcbb"};
const char a5[5][6]={"g.fjj","g.fb.","ee.bh","dcc.h","daaii"};
const char a6[6][7]={"jj.ccg","..l.kg","aal.k.",".hhe.f","d..e.f","d.bbii"};
const char a7[7][8]={"kaa..gg","k.ffee.","nn..l.h","....lbh","..cc.bm","...dj.m","ii.dj.."};
int n;
char grid[N][N];

int main()
{
	
	cin>>n;
	for(int i=0;i<n;i++)
	for(int j=0;j<n;j++)
		grid[i][j]='.';
	if(n==2) puts("-1");
	if(n==3)
		for(int i=0;i<3;i++,puts(""))
		for(int j=0;j<3;j++)
			putchar(a3[i][j]);
	if(n==6)
		for(int i=0;i<6;i++,puts(""))
		for(int j=0;j<6;j++)
			putchar(a6[i][j]);
	if(n==7)
		for(int i=0;i<7;i++,puts(""))
		for(int j=0;j<7;j++)
			putchar(a7[i][j]);
	if(n==11)
	{
		for(int i=0;i<6;i++)
		for(int j=0;j<6;j++)
			grid[i][j]=a6[i][j];
		for(int i=6;i<11;i++)
		for(int j=6;j<11;j++)
			grid[i][j]=a5[i-6][j-6];
		for(int i=0;i<11;i++,puts(""))
		for(int j=0;j<11;j++)
			putchar(grid[i][j]);
	}
	if(n==2 || n==3 || n==6 || n==7 || n==11) return 0;
	
	for(int i=0,j=n/4;;i++,j=(n-i*5)/4)
	{
		if(i*5+j*4!=n) continue;
		for(int x=0;x<i*5;x+=5)
		for(int y=0;y<5;y++)
		for(int z=0;z<5;z++)
			grid[x+y][x+z]=a5[y][z];
		for(int x=i*5;x<n;x+=4)
		for(int y=0;y<4;y++)
		for(int z=0;z<4;z++)
			grid[x+y][x+z]=a4[y][z];
		for(int i=0;i<n;i++,puts(""))
		for(int j=0;j<n;j++)
			cout<<grid[i][j];
		return 0;
	}
	
	return 0;
}