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>
#define Inf 0x3f3f3f3f
#define rg register
#define pii pair<int, int>
#define mp(x, y) make_pair(x, y)
using namespace std;
typedef long long ll;
const int Maxn = 1e3 + 5;
typedef int arr[Maxn];
//ll Add(ll x, ll y) { return (x += y) >= Mod ? x - Mod : (x < 0 ? x + Mod : x); }
ll min(ll x, ll y) { return x < y ? x : y; }
ll max(ll x, ll y) { return x > y ? x : y; }
inline ll read()
{
	rg ll res = 0, sign = 1;
	rg char ch = getchar();
	while (!isdigit(ch))
	{
		if (ch == '-')
			sign = -1;
		ch = getchar();
	}
	do
	{
		res = (res << 3) + (res << 1) + (ch ^ 48);
		ch = getchar();
	} while (isdigit(ch));
	return res * sign;
}
int n;
char s[Maxn][Maxn];
string S[4][7] = {{"abcc", "abdd", "ccab", "ddab"},
				  {"abbcc", "ad..a", "bd..a", "b.eez", "xxyyz"},
				  {"xxyyzz", ".a.b.c", ".a.b.c", "d.e.f.", "d.e.f.", "xxyyzz"},
				  {".xxyyzz", "xabb...", "xa.c...", "yddc...", "y...abb", "z...a.c", "z...ddc"}};
int main()
{
	cin >> n;
	if (n <= 2)
		return puts("-1"), 0;
	if (n == 3)
	{
		puts("a..");
		puts("a..");
		puts(".bb");
		return 0;
	}
	for (rg int i = 1; i <= n; i++)
		for (rg int j = 1; j <= n; j++)
			s[i][j] = '.';
	int m = 1, x = 4 + n % 4;
	for (int i = 0; i < x; i++)
		for (int j = 0; j < x; j++)
			s[m + i][m + j] = S[x - 4][i][j];
	m += x;
	while (m <= n)
	{
		for (int i = 0; i < 4; i++)
			for (int j = 0; j < 4; j++)
				s[m + i][m + j] = S[0][i][j];
		m += 4;
	}
	for (int i = 1; i <= n; i++)
	{
		for (int j = 1; j <= n; j++)
			printf("%c", s[i][j]);
		putchar('\n');
	}
	return 0;
}