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:
/* cerberus97 - Hanit Banga */

#include <iostream>
#include <iomanip>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <vector>
#include <algorithm>

using namespace std;

#define pb push_back
#define fast_cin() ios_base::sync_with_stdio(false); cin.tie(NULL)

typedef long long ll;
typedef long double ld;
typedef pair <int, int> pii;
typedef pair <ll, ll> pll;

const int N = 1e3 + 10;

vector<pii> solve(int n);

vector<string> base[10];

int main() {
	base[4] = {
		"aabc",
		"ccbc",
		"abdd",
		"abcc"
	};
	base[5] = {
		"aabba",
		"bcc.a",
		"b..ab",
		"a..ab",
		"abbcc",
	};
	base[7] = {
		"aa.a.aa",
		".bbabb.",
		"..aba..",
		"..aba..",
		"a.cc..a",
		"a...a.a",
		"bb..abb",
	};
	fast_cin();
	int n; cin >> n;
	vector<string> a(n, string(n, '.'));
	if (n % 3 == 0) {
		for (int i = 0; i < n; i += 3) {
			a[i][i] = a[i][i + 1] = 'a';
			a[i + 1][i + 2] = a[i + 2][i + 2] = 'a';
		}
	} else {
		auto vals = solve(n);
		if (vals.empty()) {
			cout << -1 << endl;
			return 0;
		}
		int i = 0;
		for (auto& p : vals) {
			int val = p.first, cnt = p.second;
			while (cnt--) {
				for (int j = 0; j < val; ++j) {
					for (int k = 0; k < val; ++k) {
						a[i + j][i + k] = base[val][j][k];
					}
				}
				i += val;
			}
		}
	}
	for (auto& s : a) {
		cout << s << '\n';
	}
}

vector<pii> solve(int n) {
	for (int c4 = 0; c4 <= n; ++c4) {
		for (int c5 = 0; c5 <= n; ++c5) {
			if (4 * c4 + 5 * c5 > n) {
				break;
			}
			int left = n - 4 * c4 - 5 * c5;
			if (left % 7 == 0) {
				return {{4, c4}, {5, c5}, {7, left / 7}};
			}
		}
	}
	return {};
}