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;
char s[2333][2333];
void gao(int x)
{
	for(int i=1;i<=x;i++)for(int j=1;j<=x;j++)s[i][j]='.';
	s[1][1]=s[2][1]='z';s[1][x]=s[2][x]='z';s[x][x]=s[x-1][x]='z';s[x][1]=s[x][2]='z';
	s[3][1]=s[3][2]='y';
	for(int i=1;i<=x-2;i++)
	{
		s[i][i+1]=s[i][i+2]='a'+(i%2);
	}
	for(int i=3;i<=x-1;i++)
	{
		s[i][i]=s[i+1][i]='c'+(i%2);
	}
}
int n,k;
int main()
{
	ios_base::sync_with_stdio(false);
	cin>>n;
	if(n==2)
	{
		puts("-1");
	}
	else if(n==3)
	{
		puts("aa.");
		puts("..a");
		puts("..a");
	}
	else if(n==4)
	{
		puts("aabc");
		puts("ddbc");
		puts("bcaa");
		puts("bcdd");
	}
	else if(n==6)
	{
		puts("aabb..");
		puts("b..zz.");
		puts("ba....");
		puts(".a..aa");
		puts("..a..b");
		puts("..a..b");
	}
	else if(n%2==0)
	{
		if(n%4!=0)
		{
			gao(n/2);
			for(int i=1;i<=n/2;i++)
			{
				for(int j=1;j<=n/2;j++)
				{
					putchar(s[i][j]);
				}
				for(int j=1;j<=n/2;j++)
				{
					putchar('.');
				}
				puts("");
			}
			for(int i=1;i<=n/2;i++)
			{
				for(int j=1;j<=n/2;j++)
				{
					putchar('.');
				}
				for(int j=1;j<=n/2;j++)
				{
					putchar(s[i][j]);
				}
				puts("");
			}
		}
		else
		{
			s[1][1]=s[1][2]=s[3][3]=s[3][4]='a';
			s[2][1]=s[2][2]=s[4][3]=s[4][4]='b';
			s[3][1]=s[4][1]=s[1][3]=s[2][3]='c';
			s[3][2]=s[4][2]=s[1][4]=s[2][4]='d';
			for(int i=1;i<=n/4;i++)
			{
				for(int t=1;t<=4;t++)
				{
					for(int j=1;j<=i*4-4;j++)
					{
						putchar('.');
					}
					for(int j=1;j<=4;j++)
					{
						putchar(s[t][j]);
					}
					for(int j=i*4+1;j<=n;j++)
					{
						putchar('.');
					}
					puts("");
				}
				
			}
		}
	}
	else
	{
		gao(n);
		for(int i=1;i<=n;i++)
		{
			for(int j=1;j<=n;j++)
			{
				putchar(s[i][j]);
			}
			puts("");
		}
	}
	return 0;
}