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 <iostream>
#include <cstdio>
#define N 1005
using namespace std;

int n;
char ans[N][N];
string a[9][9];

void g(int p, int q, int r) {
	int i, j;
	for (i = 0; i < r; i++) {
		for (j = 0; j < r; j++) {
			ans[i + p][j + q] = a[r][i][j];
		}
	}
}

void f(int p) {
	if (p <= 7) {
		g(1, 1, p);
	} else {
		g(p - 3, p - 3, 4);
		f(p - 4);
	}
}

int main()
{
	int i, j;
	cin >> n;
	if (n == 2) {puts("-1"); return 0;}
	for (i = 1; i <= n; i++) for (j = 1; j <= n; j++) ans[i][j] = '.';
    a[3][0] = "aa.";
    a[3][1] = "..b";
    a[3][2] = "..b";

    a[4][0] = "aabc";
    a[4][1] = "ddbc";
    a[4][2] = "efgg";
    a[4][3] = "efhh";

    a[5][0] = "ccdde";
    a[5][1] = "jaa.e";
    a[5][2] = "j..bf";
    a[5][3] = "i..bf";
    a[5][4] = "ihhgg";

    a[6][0] = "aabc..";
    a[6][1] = "ddbc..";
    a[6][2] = "..eefg";
    a[6][3] = "..hhfg";
    a[6][4] = "hi..jj";
    a[6][5] = "hi..kk";

    a[7][0] = "ccddee.";
    a[7][1] = "aa.aa.f";
    a[7][2] = "..b..bf";
    a[7][3] = "..b..bg";
    a[7][4] = "aa.aa.g";
    a[7][5] = "..b..bh";
    a[7][6] = "..b..bh";

	f(n);
	for (i = 1; i <= n; i++) {
		for (j = 1; j <= n; j++) {
			printf("%c", ans[i][j]);
		}
		puts("");
	}
    return 0;
}