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;

void put4(int x,int y)
{
	string s[4];
	s[0]="aaca",
	s[1]="bbca",
	s[2]="acbb",
	s[3]="acaa";
	for(int i=0;i<4;i++,puts(""))
	{
		for(int j=1;j<=x;j++) putchar('.');
		for(int j=0;j<4;j++) putchar(s[i][j]);
		for(int j=1;j<=y;j++) putchar('.');
	}
}
void put3(int x)
{
	string s[3];
	s[0]="aab",
	s[1]="b.b",
	s[2]="baa";
	for(int i=0;i<3;i++,puts(""))
	{
		for(int j=1;j<=x;j++) putchar('.');
		for(int j=0;j<3;j++) putchar(s[i][j]);
	}

}
void put5(int x)
{
	string s[5];
	s[0]="aabbc",
	s[1]="bcc.c",
	s[2]="b..ca",
	s[3]="a..ca",
	s[4]="accbb";
	for(int i=0;i<5;i++,puts(""))
	{
		for(int j=1;j<=x;j++) putchar('.');
		for(int j=0;j<5;j++) putchar(s[i][j]);
	}
}
void put6(int x)
{
	string s[6];
	s[0]="aabb.c",
	s[1]="bc...c",
	s[2]="bc..aa",
	s[3]=".aacb.",
	s[4]="a..cb.",
	s[5]="a.aacc";
	for(int i=0;i<6;i++,puts(""))
	{
		for(int j=1;j<=x;j++) putchar('.');
		for(int j=0;j<6;j++) putchar(s[i][j]);
	}
}
void put7(int x)
{
	string s[7];
	s[0]="aab.aa.",
	s[1]="b.b..bb",
	s[2]="bcaa...",
	s[3]=".cb..cc",
	s[4]="a.bcc..",
	s[5]="ab....a",
	s[6]=".b.aa.a";
	for(int i=0;i<7;i++,puts(""))
	{
		for(int j=1;j<=x;j++) putchar('.');
		for(int j=0;j<7;j++) putchar(s[i][j]);
	}

}
int main()
{
	int n;
	cin >> n;
	if(n<=2){puts("-1");}
	else if(n==3)put3(0);
	else if(n==5)put5(0);
	else 
	{
		for(int i=1;i<=n/4-1;i++)
			put4(4*i-4,n-4*i);
		if(n%4==0) put4(n-4,0);
		if(n%4==1) put5(n-5);
		if(n%4==2) put6(n-6);
		if(n%4==3) put7(n-7);
	}
	return 0;
}