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:
//by yjz
#include<bits/stdc++.h>
#define FF first
#define SS second
#define MP make_pair
#define PB push_back
typedef long long ll;
using namespace std;
string s3[3] = {
"aab",
"c.b",
"cdd"};
string s4[4] =
{"aacd",
 "bbcd",
 "cdaa",
 "cdbb"};
string s5[5] =
{"..abc",
 "..abc",
 "ffeed",
 "ggj.d",
 "hhjkk"};
string s7[7] = 
{"....cba",
 "....cba",
 "....def",
 "....def",
 "hhii..g",
 "jjkk..g",
 "llmmnn."};

int n;
char ans[1011][1011];
int B = 1;
void add(string s[], int k)
{
	for (int i=0; i<k; i++) for (int j=0; j<k; j++) ans[B+i][B+j] = s[i][j];
	B += k;
}
int main()
{
	cin>>n;
	if (n%2==0&&n>2)
	{
		for (int i=1; i<=n/2; i++)
		{
			int x = i;
			ans[x+x-1][x+x-1] = ans[x+x-1][x+x] = 'a';
			ans[x+x][x+x-1] = ans[x+x][x+x] = 'b';
		}
		for (int i=1; i<=n/2; i++)
		{
			int x = i;
			int c = (x+x)%n+1;
			ans[x+x-1][c] = ans[x+x][c] = 'c';
			ans[x+x-1][c+1] = ans[x+x][c+1] = 'd';
		}
		for (int i=1; i<=n; i++)
		{
			for (int j=1; j<=n; j++)
			{
				if (!ans[i][j]) putchar('.');
				else putchar(ans[i][j]);
			}
			puts("");
		}
	}
	else if (n%3==0)
	{
		for (int i=0; i<n; i++)
		{
			for (int j=0; j<n; j++)
			{
				if (i/3==j/3) putchar(s3[i%3][j%3]);
				else putchar('.');
			}
			puts("");
		}
	}
	else
	{
		for (int i=0; i<=n; i++)
		{
			for (int j=0; j<=n; j++)
			{
				if (n>=4*i+5*j&&(n-4*i-5*j)%7==0)
				{
					int t = (n-4*i-5*j)/7;
					while (i--) add(s4, 4);
					while (j--) add(s5, 5);
					while (t--) add(s7, 7);
					for (int i=1; i<=n; i++)
					{
						for (int j=1; j<=n; j++)
						{
							if (!ans[i][j]) putchar('.');
							else putchar(ans[i][j]);
						}
						puts("");
					}
					return 0;
				}
			}
		}
		assert(n==2);
		puts("-1");
	}
	return 0;
}