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 ll long long
#define maxn 1005 /*rem*/
#define mod 998244353
#define db double
#define vi vector<int>
#define pb push_back
#define mp make_pair
#define pi pair<int, int>
#define fi first
#define se second
using namespace std;
ll ksm(ll a, ll b) {
   if (!b) return 1;
   ll ns = ksm(a, b >> 1);
   ns = ns * ns % mod;
   if (b & 1) ns = ns * a % mod;
   return ns;
}
char x3[3][10] = {"aab", "c.b", "cdd"};
char x4[6][10] = {"qqwe", "rrwe", "tyuu", "tyii"};
char x5[6][10] = {"aabcc", "b.bdd", "baaee", "fgh..", "fgh.."};
char x7[8][10] = {"..mmkkn",
"ii.g..n",
".aagff.",
"djj...b",
"d..c..b",
"h..ce..",
"h...ell"} ;
char ot[maxn][maxn];
void pt(int x, int y, int tp) {
	if (tp == 3)
		for (int i = 0; i < tp; i++)
			for (int j = 0; j < tp; j++)
				ot[x + i][y + j] = x3[i][j];
	else if (tp == 4)
		for (int i = 0; i < tp; i++)
			for (int j = 0; j < tp; j++)
				ot[x + i][y + j] = x4[i][j];
	else if (tp == 5)
		for (int i = 0; i < tp; i++)
			for (int j = 0; j < tp; j++)
				ot[x + i][y + j] = x5[i][j];
	else	{
		for (int i = 0; i < tp; i++)
			for (int j = 0; j < tp; j++)
				ot[x + i][y + j] = x7[i][j];
	}
}
int n;
void otp() {
	for (int i = 0; i < n; i++) {
		for (int j = 0; j < n; j++)
			printf("%c", ot[i][j]);
		printf("\n");
	}
}
int main() {

	cin >> n;	
	for (int i = 0; i < n; i++)
		for (int j = 0; j < n; j++)
			ot[i][j] = '.';
	if (n == 2) {
		cout << -1 << endl;
		return 0;
	}
	else {
		if (n % 3 == 0)
			for (int i = 0; i < n; i += 3)
				pt(i, i, 3);
		else if (n == 7)
			pt(0, 0, 7);
		else if (n == 11)
			pt(0, 0, 7), 
			pt(7, 7, 4); 
		else {
			for (int j = 0; 4 * j <= n; j++) {
				if ((n - 4 * j) % 5 == 0) {
					int ns = 0;
					for (int t = 0; t < j; t++)
						pt(ns, ns, 4), ns += 4;
					while (ns < n)
						pt(ns, ns, 5), ns += 5;
					break;
				}
			}
		}
	}
	otp();
	return 0;
}